36 void SimulateChunk(std::chrono::milliseconds a_DT,
int a_ChunkX,
int a_ChunkZ,
cChunk * a_Chunk);
51 typedef std::vector <std::pair<cSimulator *, int> >
cSimulators;
void WakeUp(Vector3i a_Block, cChunk *a_Chunk)
std::vector< std::pair< cSimulator *, int > > cSimulators
Base class for all block-based physics simulators (such as fluid, fire, falling blocks etc...
void Simulate(float a_Dt)
void RegisterSimulator(cSimulator *a_Simulator, int a_Rate)
cSimulatorManager(cWorld &a_World)
void WakeUpArea(const cCuboid &a_Area)
Does the same processing as WakeUp, but for all blocks within the specified area. ...
void SimulateChunk(std::chrono::milliseconds a_DT, int a_ChunkX, int a_ChunkZ, cChunk *a_Chunk)