public MapLocation (int x, int y, Map map) : base(x, y){
   if (!map.OnMap(this)){
     throw new OutOfBoundsException(this+ " is outside the boundaries of the map."); 
   }
 }