summaryrefslogtreecommitdiffstats
path: root/src/Mobs/CaveSpider.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/CaveSpider.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Mobs/CaveSpider.h b/src/Mobs/CaveSpider.h
index f59809d03..c7a660c75 100644
--- a/src/Mobs/CaveSpider.h
+++ b/src/Mobs/CaveSpider.h
@@ -1,7 +1,9 @@
#pragma once
#include "Monster.h"
-
+#include "Behaviors/BehaviorAttackerMelee.h"
+#include "Behaviors/BehaviorWanderer.h"
+#include "Behaviors/BehaviorAggressive.h"
@@ -18,6 +20,13 @@ public:
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
+
+ // tick behaviors
+ cBehaviorAttackerMelee m_BehaviorAttackerMelee;
+ cBehaviorWanderer m_BehaviorWanderer;
+
+ // other behaviors
+ cBehaviorAggressive m_BehaviorAggressive;
} ;