I am creating a text adventure. There is a player class, and a map class. I will create many objects of class map, each one contains a 5 by 5 two-dimensional array for navigating a map. My question is, with what I have thus far, at the point where I want my player to say... move through a door, that takes him to the next map object, how can I accomplish that, and what would the code look like, again using what I have thus far?
If you can answer this I will worship you for life. Thank you so much for your time.