Example #1
0
 /**
  * Creates a new chunk manager with the specified I/O service and world generator.
  *
  * @param service The I/O service.
  * @param generator The world generator.
  */
 public ChunkManager(GlowWorld world, ChunkIoService service, ChunkGenerator generator) {
   this.world = world;
   this.service = service;
   this.generator = generator;
   biomeGrid = MapLayer.initialize(world.getSeed(), world.getEnvironment(), world.getWorldType());
 }