public bool IsOutOfBounds(MapPosition position) { return(!position.IsWithin(mapMaxPos, mapMinPos)); }