Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Public Types | |
enum | eSlope { sUp , sDown } |
Static Public Member Functions | |
static cMineShaft * | CreateAndFit (cStructGenMineShafts::cMineShaftSystem &a_ParentSystem, int a_PivotX, int a_PivotY, int a_PivotZ, eDirection a_Direction, cNoise &a_Noise) |
Creates a new Staircase attached to the specified pivot point and direction. More... | |
Protected Member Functions | |
virtual void | AppendBranches (int a_RecursionLevel, cNoise &a_Noise) override |
cMineShaftStaircase (cStructGenMineShafts::cMineShaftSystem &a_ParentSystem, const cCuboid &a_BoundingBox, eDirection a_Direction, eSlope a_Slope) | |
virtual void | ProcessChunk (cChunkDesc &a_ChunkDesc) override |
Protected Attributes | |
eDirection | m_Direction |
eSlope | m_Slope |
Private Types | |
using | Super = cMineShaft |
Definition at line 189 of file MineShafts.cpp.
|
private |
Definition at line 192 of file MineShafts.cpp.
Enumerator | |
---|---|
sUp | |
sDown |
Definition at line 196 of file MineShafts.cpp.
|
protected |
Definition at line 1113 of file MineShafts.cpp.
|
overrideprotectedvirtual |
Definition at line 1177 of file MineShafts.cpp.
|
static |
Creates a new Staircase attached to the specified pivot point and direction.
Checks all ParentSystem's objects and disallows intersecting. Initializes the new object to fit. May return nullptr if cannot fit.
Definition at line 1129 of file MineShafts.cpp.
|
overrideprotectedvirtual |
Definition at line 1193 of file MineShafts.cpp.
|
protected |
Definition at line 213 of file MineShafts.cpp.
|
protected |
Definition at line 214 of file MineShafts.cpp.