Example #1
0
 public void Setup(ILabirinthGenerator labirinthGenerator, int width = 10, int height = 5)
 {
     Width     = width;
     Height    = height;
     Generator = labirinthGenerator;
     GoDown();
 }
Example #2
0
 public Dungeon(ILabirinthGenerator labirinthGenerator, bool showLabGeneration, int width = 10, int height = 5)
 {
     Width  = width;
     Height = height;
     //Generator = new LabirinthGenerator(width, height, showLabGeneration: showLabGeneration);
     Generator = labirinthGenerator;
     Levels    = new List <ILabyrinthLevel>();
     GoDown();
 }
Example #3
0
 public Dungeon(ILabirinthGenerator labirinthGenerator, int width = 10, int height = 5)
 {
     Setup(labirinthGenerator, width, height);
 }