diff options
author | madmaxoft <github@xoft.cz> | 2013-10-13 18:26:45 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-13 18:26:45 +0200 |
commit | e62cac07c0d74ded6109b9221045d65223b05c23 (patch) | |
tree | a1011589b593aa387a434501b40fb99de0d0a502 /source/Mobs/Creeper.h | |
parent | Merge pull request #226 from SamJBarney/master (diff) | |
parent | Eight round of fixes (diff) | |
download | cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.tar cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.tar.gz cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.tar.bz2 cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.tar.lz cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.tar.xz cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.tar.zst cuberite-e62cac07c0d74ded6109b9221045d65223b05c23.zip |
Diffstat (limited to 'source/Mobs/Creeper.h')
-rw-r--r-- | source/Mobs/Creeper.h | 9 |
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; + } ; |