mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 12:43:37 +00:00
19 lines
806 B
C++
19 lines
806 B
C++
#pragma once
|
|
#include "Particle.h"
|
|
|
|
class BreakingItemParticle : public Particle {
|
|
// virtual eINSTANCEOF GetType(); // 4J-IB/JEV TODO needs implementation
|
|
|
|
public:
|
|
virtual eINSTANCEOF GetType() { return eType_BREAKINGITEMPARTICLE; }
|
|
void _init(Item* item, Textures* textures, int data);
|
|
BreakingItemParticle(Level* level, double x, double y, double z, Item* item,
|
|
Textures* textures, int data = 0);
|
|
BreakingItemParticle(Level* level, double x, double y, double z, double xa,
|
|
double ya, double za, Item* item, Textures* textures,
|
|
int data = 0);
|
|
virtual int getParticleTexture();
|
|
virtual void render(Tesselator* t, float a, float xa, float ya, float za,
|
|
float xa2, float za2);
|
|
};
|