I'm trying to figure out how the game will end once a co-ordinate has been reached or if that's possible, what you have to do in my game is collect the keys from mummies guarding them, once all they keys have been retrieved the doors will open allowing you to escape. Basically I'm trying to figure out how it will end once the player has walked into the exit(removed doors).

