From a49c004278b0e300521e9cedf44a46ac843a958b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 13 Apr 2013 21:02:10 +0000 Subject: Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Player.h') diff --git a/source/Player.h b/source/Player.h index 7d825eec4..d64cc7581 100644 --- a/source/Player.h +++ b/source/Player.h @@ -35,11 +35,11 @@ public: cPlayer(cClientHandle * a_Client, const AString & a_PlayerName); virtual ~cPlayer(); - virtual void Initialize( cWorld* a_World ); // tolua_export + virtual void Initialize(cWorld * a_World); // tolua_export virtual void SpawnOn(cClientHandle & a_Client) override; - virtual void Tick(float a_Dt, MTRand & a_TickRandom) override; + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; /// Returns the curently equipped weapon; empty item if none virtual cItem GetEquippedWeapon(void) const override { return m_Inventory.GetEquippedItem(); } -- cgit v1.2.3