示例#1
0
 public TerrainChunkCache(TerrainChunkFactory terrainChunkFactory, IResourceAllocator resourceAllocator)
 {
     _resourceAllocator   = resourceAllocator;
     _terrainChunkFactory = terrainChunkFactory;
     _jobs = new HashSet <Bounds2D>();
 }
 public TerrainChunkCache(TerrainChunkFactory terrainChunkFactory, IResourceAllocator resourceAllocator)
 {
     _resourceAllocator = resourceAllocator;
     _terrainChunkFactory = terrainChunkFactory;
     _jobs = new HashSet<Box3D>();
 }