예제 #1
0
파일: World.cs 프로젝트: fry/Survivalist
 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);
 }
예제 #2
0
 public ActiveChunkPool(World world, ChunkCache cache)
 {
     this.cache = cache;
     this.world = world;
 }