summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Creeper.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-10-09 22:02:59 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-10-09 22:02:59 +0200
commitfe6fa23a97421af3d02b9faf92b8df2f73abb556 (patch)
treea080fa2de23b3123dc2d13ab8ee5565c3eac9ad6 /source/Mobs/Creeper.h
parentInitial round of fixes (diff)
downloadcuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar
cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.gz
cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.bz2
cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.lz
cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.xz
cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.tar.zst
cuberite-fe6fa23a97421af3d02b9faf92b8df2f73abb556.zip
Diffstat (limited to 'source/Mobs/Creeper.h')
-rw-r--r--source/Mobs/Creeper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/Mobs/Creeper.h b/source/Mobs/Creeper.h
index c1d46f462..c3d4edeae 100644
--- a/source/Mobs/Creeper.h
+++ b/source/Mobs/Creeper.h
@@ -18,6 +18,15 @@ public:
CLASS_PROTODEF(cCreeper);
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
+ virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
+
+ bool IsBlowing(void) const {return m_bIsBlowing; }
+ bool IsCharged(void) const {return m_bIsCharged; }
+
+private:
+
+ bool m_bIsBlowing, m_bIsCharged;
+
} ;