mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 10:33:39 +00:00
24 lines
680 B
C++
24 lines
680 B
C++
#pragma once
|
|
#include "Particle.h"
|
|
class Entity;
|
|
|
|
class TakeAnimationParticle : public Particle {
|
|
public:
|
|
virtual eINSTANCEOF GetType() { return eType_TAKEANIMATIONPARTICLE; }
|
|
|
|
private:
|
|
std::shared_ptr<Entity> item;
|
|
std::shared_ptr<Entity> target;
|
|
int life;
|
|
int lifeTime;
|
|
float yOffs;
|
|
|
|
public:
|
|
TakeAnimationParticle(Level* level, std::shared_ptr<Entity> item,
|
|
std::shared_ptr<Entity> target, float yOffs);
|
|
~TakeAnimationParticle();
|
|
virtual void render(Tesselator* t, float a, float xa, float ya, float za,
|
|
float xa2, float za2);
|
|
virtual void tick();
|
|
virtual int getParticleTexture();
|
|
}; |