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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Mobs/Blaze.h b/src/Mobs/Blaze.h
index ca755b626..3e6726efa 100644
--- a/src/Mobs/Blaze.h
+++ b/src/Mobs/Blaze.h
@@ -17,6 +17,15 @@ public:
CLASS_PROTODEF(cBlaze)
+ virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool Attack(std::chrono::milliseconds a_Dt) override;
+
+private:
+ /** Specifies whether or not the blaze has started shooting fireballs. */
+ bool m_IsCharging;
+
+ /** Number of ticks since the blaze started charging.
+ Used to create 3 successive projectiles. */
+ int m_ChargeTimer;
} ;