added Entry/Exit tile creating on map loading
Add TilePos class
protect x/y member in Vector2 class