summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Spider.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 18:51:32 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 18:51:32 +0200
commitafb65224879ccced98c5a3699f7732dc37fe3f40 (patch)
treee2b95d4acd2b4516f8244abd0e049a33aed6a293 /src/Mobs/Spider.h
parentd (diff)
downloadcuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.tar
cuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.tar.gz
cuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.tar.bz2
cuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.tar.lz
cuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.tar.xz
cuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.tar.zst
cuberite-afb65224879ccced98c5a3699f7732dc37fe3f40.zip
Diffstat (limited to 'src/Mobs/Spider.h')
-rw-r--r--src/Mobs/Spider.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Mobs/Spider.h b/src/Mobs/Spider.h
index de2c8d533..7113b9a3e 100644
--- a/src/Mobs/Spider.h
+++ b/src/Mobs/Spider.h
@@ -2,6 +2,10 @@
#pragma once
#include "Monster.h"
+#include "Behaviors/BehaviorAttackerMelee.h"
+#include "Behaviors/BehaviorWanderer.h"
+#include "Behaviors/BehaviorAggressive.h"
+#include "Behaviors/BehaviorDayLightBurner.h"
@@ -19,6 +23,13 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
+private:
+ // tick behaviors
+ cBehaviorAttackerMelee m_BehaviorAttackerMelee;
+ cBehaviorWanderer m_BehaviorWanderer;
+
+ // other behaviors
+ cBehaviorAggressive m_BehaviorAggressive;
} ;