summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorWanderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorWanderer.h')
-rw-r--r--src/Mobs/Behaviors/BehaviorWanderer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Mobs/Behaviors/BehaviorWanderer.h b/src/Mobs/Behaviors/BehaviorWanderer.h
new file mode 100644
index 000000000..23d86f0d2
--- /dev/null
+++ b/src/Mobs/Behaviors/BehaviorWanderer.h
@@ -0,0 +1,23 @@
+#pragma once
+
+// The mob will wander around
+
+class cMonster;
+class cEntity;
+class cChunk;
+
+class cBehaviorWanderer
+{
+
+public:
+ cBehaviorWanderer(cMonster * a_Parent);
+
+ // Functions our host Monster should invoke:
+ bool ActiveTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk);
+
+
+private:
+ cMonster * m_Parent; // Our Parent
+
+ std::chrono::milliseconds m_IdleInterval;
+};