I have two classes, one of them is a Game class which draws a map, and I have a character class which places a character and allows the character to move. My problem is that I need to get information from the map to tell my character instance if he can move to a certain position or not.