mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-18 19:50:00 +01:00
Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com> Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4205
25 lines
539 B
C++
25 lines
539 B
C++
#pragma once
|
|
#include "Particle.h"
|
|
|
|
class EndRodParticle : public Particle
|
|
{
|
|
public:
|
|
virtual eINSTANCEOF GetType() { return eType_ENDRODPARTICLE; }
|
|
|
|
private:
|
|
static const int BASE_TEX = 11 * 16;
|
|
static const int FRAME_COUNT = 8;
|
|
|
|
float fadeR;
|
|
float fadeG;
|
|
float fadeB;
|
|
|
|
public:
|
|
EndRodParticle(Level *level, double x, double y, double z, double xa, double ya, double za);
|
|
virtual AABB *getCollideBox();
|
|
virtual bool isPushable();
|
|
virtual void tick();
|
|
virtual int getLightColor(float a);
|
|
virtual float getBrightness(float a);
|
|
};
|