Пример #1
0
 public float GetDistance(Sprite second)
 {
     return((float)this.GetMiddlePoint()
            .DistanceTo(second.GetMiddlePoint()));
 }
Пример #2
0
 public float GetDistance(Sprite second)
 {
     return (float)this.GetMiddlePoint()
             .DistanceTo(second.GetMiddlePoint());
 }