summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Blaze.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Blaze.h')
-rw-r--r--src/Mobs/Blaze.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/Mobs/Blaze.h b/src/Mobs/Blaze.h
index ca755b626..aad6b4af6 100644
--- a/src/Mobs/Blaze.h
+++ b/src/Mobs/Blaze.h
@@ -1,16 +1,14 @@
-
#pragma once
-#include "AggressiveMonster.h"
-
-
-
-
+#include "Monster.h"
+#include "Behaviors/BehaviorAttackerRanged.h"
+#include "Behaviors/BehaviorDoNothing.h"
+#include "Behaviors/BehaviorAggressive.h"
class cBlaze :
- public cAggressiveMonster
+ public cMonster
{
- typedef cAggressiveMonster super;
+ typedef cMonster super;
public:
cBlaze(void);
@@ -18,5 +16,12 @@ public:
CLASS_PROTODEF(cBlaze)
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
- virtual bool Attack(std::chrono::milliseconds a_Dt) override;
+
+private:
+ // tick behaviors
+ cBehaviorAttackerRanged m_BehaviorAttackerRanged;
+ cBehaviorDoNothing m_BehaviorDoNothing;
+
+ // other behaviors
+ cBehaviorAggressive m_BehaviorAggressive;
} ;