Example #1
0
 public bool HasPointInArchitectureRoutewayStartArea(Architecture des)
 {
     GameArea routewayStartArea = des.GetRoutewayStartArea();
     foreach (Point point in routewayStartArea.Area)
     {
         if (this.GetNode(point) != null)
         {
             return true;
         }
     }
     return false;
 }
Example #2
0
 public bool EndedInArchitectureRoutewayStartArea(Architecture des)
 {
     GameArea routewayStartArea = des.GetRoutewayStartArea();
     foreach (Point point in routewayStartArea.Area)
     {
         if (this.LastPoint.Position == point)
         {
             return true;
         }
     }
     return false;
 }