Ejemplo n.º 1
0
 public Room(IntRange widthRange, IntRange heightRange)
 {
     this.size = new IntPair(widthRange.Random, heightRange.Random);
 }
Ejemplo n.º 2
0
 public Corridor(IntRange lengthRange, Room entranceRoom, Room exitRoom, Direction direction)
 {
     this.length = lengthRange.Random;
     this.entranceRoom = entranceRoom;
     this.exitRoom = exitRoom;
     this.direction = direction;
 }