I'm working on a turn-based game in which players can't pass certain environmental objects- rocks, water etc. Because the game is turn based, they get a set of availabe movement directions at the start of their turn. The way I did this back in ye olden Actionscript days was to have an array of tile and then check around the player to see if any of the directions were impassable.
2DToolkit doesn't have an array of tiles (I don't think!), so what're my best options and practices for checking for impassable directions around the player? My current idea is to have 4 small, sub objects around the player sprite, each one tile north, south east and west. Check for collisions and report back.
Is there a smarter way with the tools available in 2DTK?