aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/HugeExplosionParticle.h
blob: 5c386d63ebcd3ed98da1faed9e3b7069a083777c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "Particle.h"

class HugeExplosionParticle : public Particle
{
private:
	static ResourceLocation EXPLOSION_LOCATION;
	int life;
	int lifeTime;
	Textures *textures;
	float size;

public:
	virtual eINSTANCEOF GetType() { return eType_HUGEEXPLOSIONPARTICLE; }
	HugeExplosionParticle(Textures *textures, Level *level, double x, double y, double z, double xa, double ya, double za);
	void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2);
	int getLightColor(float a);
	void tick();
	int getParticleTexture();
};