diff options
author | madmaxoft <github@xoft.cz> | 2013-08-19 11:39:13 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-19 11:39:13 +0200 |
commit | 1a7912744ff2e0abfeae0d2d75af80d73209580c (patch) | |
tree | e5372cdfece1852c00ed7b0219ad77ee82ea1858 /source/TNTEntity.h | |
parent | Fixed timed event wait on Linux. (diff) | |
download | cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.tar cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.tar.gz cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.tar.bz2 cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.tar.lz cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.tar.xz cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.tar.zst cuberite-1a7912744ff2e0abfeae0d2d75af80d73209580c.zip |
Diffstat (limited to 'source/TNTEntity.h')
-rw-r--r-- | source/TNTEntity.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/source/TNTEntity.h b/source/TNTEntity.h deleted file mode 100644 index e3eae24f2..000000000 --- a/source/TNTEntity.h +++ /dev/null @@ -1,34 +0,0 @@ - -#pragma once - -#include "Entity.h" -#include "Defines.h" - - - - - -class cTNTEntity : - public cEntity -{ - typedef cEntity super; - -public: - CLASS_PROTODEF(cTNTEntity); - - cTNTEntity(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec); - cTNTEntity(const Vector3d & a_Pos, double a_FuseTimeInSec); - - // cEntity overrides: - virtual bool Initialize(cWorld * a_World) override; - virtual void SpawnOn(cClientHandle & a_ClientHandle) override; - virtual void Tick(float a_Dt, cChunk & a_Chunk) override; - -protected: - double m_Counter; ///< How much time has elapsed since the object was created, in seconds - double m_MaxFuseTime; ///< How long the fuse is, in seconds -}; - - - - |