blob: 33c4535f3eb50c3d60b26e76aa5e1bee59a3c1e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#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();
};
|