Example #1
0
        public TerrainGenerator(IAreaGenerator areaGenerator)
        {
            this.areaGenerator = areaGenerator;

            Logger.RegisterLogLevelsFor<TerrainGenerator>(Logger.LogLevels.Adaptive);

            // Start the worker thread
            ThreadingContext.Start(GenerateAsyncLogic);
        }
 public ComplexAreaGenerator(IAreaGenerator generator, IAreaModifier[] modifiers)
 {
     Generator = generator;
     Modifiers = modifiers;
 }