blob: 85aa8c66921669792f4111cb698d28b4ead5cc15 (
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"
// 4J Stu - This class was originally "PortalParticle" but I have split the two uses of the particle
// Only the nether portal uses this particle
class NetherPortalParticle : public Particle
{
public:
virtual eINSTANCEOF GetType() { return eType_NETHERPORTALPARTICLE; }
private:
float oSize;
double xStart, yStart, zStart;
public:
NetherPortalParticle(Level *level, double x, double y, double z, double xd, double yd, double zd);
virtual void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2);
virtual int getLightColor(float a); // 4J - brought forward from 1.8.2
virtual float getBrightness(float a);
virtual void tick();
};
|