summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Creeper.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-24 20:52:52 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-24 20:52:52 +0100
commit3e675f8c38720cd6c483ee0f9733a9c060ded936 (patch)
tree3ada57e16bf1dd73e5fecd8fd109d6c731c1770a /src/Mobs/Creeper.h
parentRemoved unused ReferenceManager (diff)
downloadcuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.tar
cuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.tar.gz
cuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.tar.bz2
cuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.tar.lz
cuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.tar.xz
cuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.tar.zst
cuberite-3e675f8c38720cd6c483ee0f9733a9c060ded936.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Creeper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Creeper.h b/src/Mobs/Creeper.h
index c3d4edeae..0f71e5ad2 100644
--- a/src/Mobs/Creeper.h
+++ b/src/Mobs/Creeper.h
@@ -19,6 +19,8 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
+ virtual void Attack(float a_Dt) override;
+ virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
bool IsBlowing(void) const {return m_bIsBlowing; }
bool IsCharged(void) const {return m_bIsCharged; }
@@ -26,6 +28,7 @@ public:
private:
bool m_bIsBlowing, m_bIsCharged;
+ int m_ExplodingTimer;
} ;