blob: a7fe1f1f9cacd1314cf52e12d1807c776f745908 (
plain)
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
32
33
34
35
36
|
#pragma once
#include "Fireball.h"
class HitResult;
class DragonFireball : public Fireball
{
public:
eINSTANCEOF GetType() { return eTYPE_DRAGON_FIREBALL; }
static Entity *create(Level *level) { return new DragonFireball(level); }
public:
static const double SPLASH_RANGE;
private:
static const double SPLASH_RANGE_SQ;
public:
DragonFireball(Level *level);
DragonFireball(Level *level, shared_ptr<LivingEntity> mob, double xa, double ya, double za);
DragonFireball(Level *level, double x, double y, double z, double xa, double ya, double za);
protected:
virtual void onHit(HitResult *res);
public:
virtual bool isPickable();
virtual bool hurt(DamageSource *source, float damage);
protected:
// 4J Added TU9
virtual ePARTICLE_TYPE getTrailParticleType();
virtual bool shouldBurn();
};
|