Im trying to write a tile based rogue like. I currently have a tile map and a basic character that moves. When I try and write a function for the script that moves my player I need access to lots of different things in the tile map such as room locations and where the walls are. Thinking ahead it seems like most of my functions will need access to data from almost every class. There is probably a flaw in what classes I have chosen but I dont know what else to do. Any idea or tips would be appreciated.
The current classes I have are:
DataTileMap (ultimately creates array of tiles)
Nested - DataRoom (room class with width, height etc)
GraphicTileMap (creates a mesh and texture)
Mover (moves character)