Exemplo n.º 1
0
 private void Move(Way newWay)
 {
     ways.Add(newWay);
     currentPosition.X = newWay.End.X;
     currentPosition.Y = newWay.End.Y;
 }
Exemplo n.º 2
0
 private bool Equals(Way other)
 {
     return((Equals(Start, other.Start) && Equals(End, other.End)) || (Equals(Start, other.End) && Equals(End, other.Start)));
 }