LayerProcGen v0.1.0
Layer-based infinite procedural generation
|
Inherited by ChunkBasedDataLayer< L, C >.
Public Member Functions | |
int | GetLevelCount () |
void | HandleAllAbstractChunks (int minChunkLevel, Action< AbstractLayerChunk > func) |
void | HandleDependenciesForLevel (int level, Action< LayerDependency > func) |
bool | IsLoadedAtPosition (DPoint position) |
Returns true if the layer is loaded at the highest level at the specified position in world units. | |
bool | IsLoadedAtPosition (DPoint position, int level) |
Returns true if the layer is loaded at least up to level at the specified position in world units. | |
Properties | |
int | chunkH [get] |
Point | chunkSize [get] |
int | chunkW [get] |
void HandleAllAbstractChunks | ( | int | minChunkLevel, |
Action< AbstractLayerChunk > | func ) |
Implemented in ChunkBasedDataLayer< L, C >.
void HandleDependenciesForLevel | ( | int | level, |
Action< LayerDependency > | func ) |
Implemented in ChunkBasedDataLayer< L, C >.
bool IsLoadedAtPosition | ( | DPoint | position | ) |
Returns true if the layer is loaded at the highest level at the specified position in world units.
Implemented in ChunkBasedDataLayer< L, C >.
bool IsLoadedAtPosition | ( | DPoint | position, |
int | level ) |
Returns true if the layer is loaded at least up to level at the specified position in world units.
Implemented in ChunkBasedDataLayer< L, C >.