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