summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Spider.h
diff options
context:
space:
mode:
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;
} ;