39 void SimulateChunk(std::chrono::milliseconds a_DT,
int a_ChunkX,
int a_ChunkZ,
cChunk * a_Chunk);
55 typedef std::vector <std::pair<cSimulator *, int> >
cSimulators;
Base class for all block-based physics simulators (such as fluid, fire, falling blocks etc....
void RegisterSimulator(cSimulator *a_Simulator, int a_Rate)
std::vector< std::pair< cSimulator *, int > > cSimulators
cSimulatorManager(cWorld &a_World)
void SimulateChunk(std::chrono::milliseconds a_DT, int a_ChunkX, int a_ChunkZ, cChunk *a_Chunk)
Called in each tick for each chunk, a_Dt is the time passed since the last tick, in msec; direct acce...
void Simulate(float a_Dt)
Called in each tick, a_Dt is the time passed since the last tick, in msec.
void WakeUp(cChunk &a_Chunk, Vector3i a_Position)