예제 #1
0
 public void AddRoom(Room room)
 {
     rooms.Add(room.RoomNumber, room);
 }
예제 #2
0
 public virtual void Initialize(Room room, Room room3)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 public Door(Room room1, Room room2)
 {
     this.room1 = room1;
     this.room2 = room2;
 }
예제 #4
0
 public Room OtherSideFrom(Room room)
 {
     return room == room1 ? room2 : room1;
 }