Guest User

Untitled

a guest
Mar 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. int load_next_room(){
  2. //advance index and copy that room pointer _current_room
  3.  
  4. current_room_index++; //advance room array index
  5. _current_room = _map[current_room_index]; //assign room at the index to current room
  6. _current_room->monsters[0] = player; // add player next room
  7.  
  8. return 0;
  9. }
Add Comment
Please, Sign In to add comment