diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 14:16:44 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 14:16:44 +0200 |
commit | 77a3b65abe5ae07f3a77ac4574559730afcc6a20 (patch) | |
tree | aaee6818ccf2d72f07655ede91dc58af84621189 /src/Mobs/Creeper.h | |
parent | creeper initial behaviors (diff) | |
download | cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.tar cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.tar.gz cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.tar.bz2 cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.tar.lz cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.tar.xz cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.tar.zst cuberite-77a3b65abe5ae07f3a77ac4574559730afcc6a20.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Creeper.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Mobs/Creeper.h b/src/Mobs/Creeper.h index efb7cda23..3d1af2ed1 100644 --- a/src/Mobs/Creeper.h +++ b/src/Mobs/Creeper.h @@ -18,15 +18,13 @@ public: CLASS_PROTODEF(cCreeper) virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; - virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override; - virtual void OnRightClicked(cPlayer & a_Player) override; - bool IsBlowing(void) const {return m_BehaviorSuicideBomber.IsBlowing(); } - bool IsCharged(void) const {return m_BehaviorSuicideBomber.IsCharged(); } - bool IsBurnedWithFlintAndSteel(void) const {return m_BehaviorSuicideBomber.IsBurnedWithFlintAndSteel(); } + bool IsBlowing(void) const; + bool IsCharged(void) const; + bool IsBurnedWithFlintAndSteel(void) const; private: - cBehaviorSuicideBomer m_BehaviorSuicideBomber; + cBehaviorAttackerSuicideBomber m_BehaviorSuicideBomber; } ; |