summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Blaze.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 19:37:01 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 19:37:01 +0200
commit775d2edb6b606c3beb5c732bacb7e8a72fdff207 (patch)
tree891d7878d285f24272a6545553975410a398dd26 /src/Mobs/Blaze.h
parentWorking spiders and cave spiders using behaviors (diff)
downloadcuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.tar
cuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.tar.gz
cuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.tar.bz2
cuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.tar.lz
cuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.tar.xz
cuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.tar.zst
cuberite-775d2edb6b606c3beb5c732bacb7e8a72fdff207.zip
Diffstat (limited to 'src/Mobs/Blaze.h')
-rw-r--r--src/Mobs/Blaze.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Mobs/Blaze.h b/src/Mobs/Blaze.h
index 1fb165a37..aad6b4af6 100644
--- a/src/Mobs/Blaze.h
+++ b/src/Mobs/Blaze.h
@@ -1,6 +1,9 @@
#pragma once
#include "Monster.h"
+#include "Behaviors/BehaviorAttackerRanged.h"
+#include "Behaviors/BehaviorDoNothing.h"
+#include "Behaviors/BehaviorAggressive.h"
class cBlaze :
public cMonster
@@ -13,4 +16,12 @@ public:
CLASS_PROTODEF(cBlaze)
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
+
+private:
+ // tick behaviors
+ cBehaviorAttackerRanged m_BehaviorAttackerRanged;
+ cBehaviorDoNothing m_BehaviorDoNothing;
+
+ // other behaviors
+ cBehaviorAggressive m_BehaviorAggressive;
} ;