Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int load_next_room(){
- //advance index and copy that room pointer _current_room
- current_room_index++; //advance room array index
- _current_room = _map[current_room_index]; //assign room at the index to current room
- _current_room->monsters[0] = player; // add player next room
- return 0;
- }
Add Comment
Please, Sign In to add comment