public void Setup(ILabirinthGenerator labirinthGenerator, int width = 10, int height = 5) { Width = width; Height = height; Generator = labirinthGenerator; GoDown(); }
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(); }
public Dungeon(ILabirinthGenerator labirinthGenerator, int width = 10, int height = 5) { Setup(labirinthGenerator, width, height); }