コード例 #1
0
        public MazeNode(Point2D position, MazeSpace Room, MazeWall Door)
            : base()
        {
            this.position = position;
            this.Room = Room;
            this.Door = Door;
            if (this.Door != null)
                this.MazeGraphNodeType = MazeNodeType.GateNode;
            else
                this.MazeGraphNodeType = MazeNodeType.SpaceNode;

            incommingGraphArcs = new ArrayList();
            outgoingGraphArcs = new ArrayList();
        }
コード例 #2
0
 public MazeNode(int x, int y, MazeNodeType type)
 {
     this.x    = x;
     this.y    = y;
     this.type = type;
 }