added methodes to MapTiles

some methodes is added in the class that is needed for the collision
with terrain