From 77a3b65abe5ae07f3a77ac4574559730afcc6a20 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sat, 2 Sep 2017 15:16:44 +0300 Subject: Initial creeper behaviors --- src/Mobs/Creeper.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/Mobs/Creeper.h') 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; } ; -- cgit v1.2.3