blob: 555569c7fb63b300936c78681a818891f0cbbb25 (
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
|
#pragma once
#include "Fireball.h"
class LargeFireball : public Fireball
{
public:
eINSTANCEOF GetType() { return eTYPE_LARGE_FIREBALL; }
static Entity *create(Level *level) { return new LargeFireball(level); }
public:
int explosionPower;
LargeFireball(Level *level);
LargeFireball(Level *level, double x, double y, double z, double xa, double ya, double za);
LargeFireball(Level *level, shared_ptr<LivingEntity> mob, double xa, double ya, double za);
protected:
void onHit(HitResult *res);
public:
void addAdditonalSaveData(CompoundTag *tag);
void readAdditionalSaveData(CompoundTag *tag);
};
|