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