My dungeon is made from 30 x 30 sprites including walls, dungeon floor, monsters etc.
I have a boss that I want to move each time the player moves. I figured on mouse click get the boss position
and move 30 pixels in a random direction, problem is the boss moves over walls etc.
How can I make him stay on the dungeon floor only.