public void AddMapGenerator(IMapGenerator generator)
 {
     MapGenerators.Add(generator.GetType(), generator);
 }
예제 #2
0
 private void LoadGenerator(IMapGenerator generator)
 {
     Generator = generator;
     generatorName = generator.GetType().Name;
     Universe = generator.GenerateUniverse(0);
     Planet = generator.GeneratePlanet(0, seed);
 }