![]() |
Recast
1
Game with custom magic
|
#include <ITemperatureWorldChunkableGeneratable.hpp>
Public Member Functions | |
virtual bool | hasOrIsGeneratableChunk (Coord x, Coord y, Coord z) const noexcept=0 |
virtual std::shared_ptr < ITemperatureWorldBoundable < ITemperatureWorld > > | getOrGenerateChunk (Coord x, Coord y, Coord z)=0 |
Should not be derived directly. Use ITemperatureWorldChunkableGeneratable
. This class is useful for dynamic_cast
.
|
pure virtual |
Retrieves chunk which holds this point. If chunk doesn't exist, the method will generate chunk if it's possible.
x | X coordinate. |
y | Y coordinate. |
z | Z coordinate. |
Implemented in GeneratableChunkedTemperatureWorld.
|
pure virtualnoexcept |
Tells whether the chunk which holds this point exists. If chunk doesn't exist, the method will tell whether it will generated on getOrGenerateChunk
call. This method doesn't throw exceptions.
x | X coordinate. |
y | Y coordinate. |
z | Z coordinate. |
Implemented in GeneratableChunkedTemperatureWorld.