示例#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);
        }
示例#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);
        }