예제 #1
0
 public override bool IsInArea(MapPosition position)
 {
     return(MapDistanceProvider.ChebyshevDistance(Center, position) < Distance);
 }
예제 #2
0
 public override bool IsInArea(MapObject mapObject)
 {
     return(MapDistanceProvider.ChebyshevDistance(Center, mapObject) < Distance);
 }