summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Creeper.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 14:16:44 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 14:16:44 +0200
commit77a3b65abe5ae07f3a77ac4574559730afcc6a20 (patch)
treeaaee6818ccf2d72f07655ede91dc58af84621189 /src/Mobs/Creeper.h
parentcreeper initial behaviors (diff)
downloadcuberite-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 'src/Mobs/Creeper.h')
-rw-r--r--src/Mobs/Creeper.h10
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;
} ;