#include <RedstoneSimulator.h>
|
static std::array< Vector3i, 5 > | GetLinkedOffsets (Vector3i Offset) |
| For a given offset from a position, return the offsets that represent the adjacents of the newly offset position, excluding the old position. More...
|
|
static constexpr std::array< Vector3i, 6 > | AdjacentOffsets |
| Contains offsets for direct adjacents of any position. More...
|
|
virtual void | AddBlock (cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_Block)=0 |
| Called to simulate a new block. More...
|
|
virtual void | Simulate (float a_Dt) |
|
virtual void | SimulateChunk (std::chrono::milliseconds a_Dt, int a_ChunkX, int a_ChunkZ, cChunk *a_Chunk)=0 |
|
virtual void | WakeUp (cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_Block) |
| Called to simulate a single new block, typically as a result of a single block break or change. More...
|
|
virtual void | WakeUp (cChunk &a_Chunk, Vector3i a_Position, Vector3i a_Offset, BLOCKTYPE a_Block) |
| Called to simulate a single block, synthesised by the simulator manager. More...
|
|
cWorld & | m_World |
|
Definition at line 23 of file RedstoneSimulator.h.
◆ Super
◆ CreateChunkData()
The documentation for this class was generated from the following file: