Пример #1
0
 private void UpdateStatus(DuckieStatus s)
 {
     CurrentX           = s.X;
     CurrentY           = s.Y;
     CurrentOrientation = s.OrientationRad;
 }
Пример #2
0
 public float CalculateDistanceInXandYPlane(DuckieStatus other)
 {
     return(new Point(X, Y).CalculateDistanceInXandYPlane(new Point(other.X, other.Y)));
 }