diff options
Diffstat (limited to 'src/Mobs/Creeper.h')
-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; } ; |