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(); }
public MazeNode(int x, int y, MazeNodeType type) { this.x = x; this.y = y; this.type = type; }