Example #1
0
 /// <summary>
 /// Make a new job
 /// </summary>
 /// <param name="level"></param>
 /// <param name="chunkColumnLocation"></param>
 /// <param name="resourcePool"></param>
 internal JUnloadChunkColumn(
     JUnloadChunks jobManager,
     Coordinate chunkColumnLocation
     ) : base(jobManager, chunkColumnLocation)
 {
     threadName = "Unload Column: " + queueItem.ToString();
 }
 /// <summary>
 /// Construct
 /// </summary>
 /// <param name="level"></param>
 /// <param name="managedChunkRadius"></param>
 /// <param name="managedChunkHeight"></param>
 internal LoadedChunkVoxelDataResolutionAperture(int managedChunkRadius, int managedChunkHeight = 0)
     : base(managedChunkRadius, managedChunkHeight)
 {
     chunkFileLoadQueueManagerJob     = new JLoadChunksFromFile(this);
     chunkGenerationJobManager        = new JGenerateTerrainDataForChunks(this);
     chunkUnloadToFileQueueManagerJob = new JUnloadChunks(this);
 }
 /// <summary>
 /// construct
 /// </summary>
 /// <param name="chunkBounds"></param>
 /// <param name="blockSource"></param>
 public ColumnLoadedLevel(Coordinate chunkBounds, IBlockSource blockSource) : base(chunkBounds, blockSource)
 {
     chunkLoadQueueManagerJob   = new JLoadChunks(this);
     chunkUnloadQueueManagerJob = new JUnloadChunks(this);
 }
Example #4
0
 /// <summary>
 /// construct
 /// </summary>
 /// <param name="chunkBounds"></param>
 /// <param name="voxelSource"></param>
 public ColumnLoadedLevel(Coordinate chunkBounds, IVoxelSource voxelSource, IVoxelMeshGenerator meshGenerator) : base(chunkBounds, voxelSource, meshGenerator)
 {
     chunkLoadQueueManagerJob    = new JLoadChunks(this);
     chunkUnloadQueueManagerJob  = new JUnloadChunks(this);
     chunkMeshGenQueueManagerJob = new JGenerateChunkMeshes(this);
 }