blob: 3e6726efa5b3d7e3cf455844fc9e3e360efed4f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include "AggressiveMonster.h"
class cBlaze :
public cAggressiveMonster
{
typedef cAggressiveMonster super;
public:
cBlaze(void);
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;
} ;
|