예제 #1
0
 public ChunkGeneratorSystem(EntityCommandRecorder commandRecorder, IParallelRunner runner, ChunkGenerator generator, World world) : base(world.GetEntities().WhenAdded <Chunk>().AsSet(), runner)
 {
     _commandRecorder = commandRecorder;
     _generator       = generator;
 }
예제 #2
0
 public ChunkGeneratorSystem(Scene scene, IParallelRunner runner, ChunkGenerator generator) : base(scene.World.GetEntities().WhenAdded <Chunk>().AsSet(), runner)
 {
     _scene     = scene;
     _generator = generator;
 }