public MazePrototypeFactory(MazeP maze, RoomP room, DoorP door, WallP wall)
 {
     this.prototypeRoom = room;
     this.prototypeDoor = door;
     this.prototypeWall = wall;
     this.prototypeMaze = maze;
 }
Exemple #2
0
 public RoomP(RoomP room)
 {
     this.roomNumber = room.roomNumber;
 }
Exemple #3
0
 public RoomP OtherSideFrom(RoomP room)
 {
     return ((room == this.room1) ? this.room2 : this.room1);
 }
Exemple #4
0
 public virtual void Initialize(RoomP room1, RoomP room2)
 {
     this.room1 = room1;
     this.room2 = room2;
 }
Exemple #5
0
 public DoorP(DoorP door)
 {
     this.room1 = door.room1;
     this.room2 = door.room2;
 }