Made the pathfinder have a tiles[][] so that we can re-use the same pathfinder for mobs as for the player.