Пример #1
0
 public LevelGenerator(Options options)
 {
     _options           = options;
     _random            = new PsuedoRandom(options.RandomSeed);
     _roomGenerator     = new RoomGenerator(_random);
     _corridorGenerator = new CorridorGenerator();
     _levelTiler        = new LevelTiler();
 }
Пример #2
0
 public RoomGenerator(IPsuedoRandom random)
 {
     _random = random;
 }