Initial convertion of a_Dt to std::chrono
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
This commit is contained in:
@@ -22,7 +22,7 @@ public:
|
||||
cExpOrb(const Vector3d & a_Pos, int a_Reward);
|
||||
|
||||
// Override functions
|
||||
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
|
||||
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
|
||||
virtual void SpawnOn(cClientHandle & a_Client) override;
|
||||
|
||||
/** Returns the number of ticks that this entity has existed */
|
||||
|
||||
Reference in New Issue
Block a user