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