Example #1
0
 public World(ChunkSource source)
 {
     TimeFactor = 0.02;
     EntityHandler = new EntityHandler(this);
     Lighting = new LightingEngine(this);
     ChunkCache = new ChunkCache(source, new FlatChunkGenerator(Lighting));
     ChunkPool = new ActiveChunkPool(this, ChunkCache);
 }
Example #2
0
 public ActiveChunkPool(World world, ChunkCache cache)
 {
     this.cache = cache;
     this.world = world;
 }