blob: 10026fdaae709ded62499135071231b05e40fd92 (
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:
shared_ptr<Entity> item;
shared_ptr<Entity> target;
int life;
int lifeTime;
float yOffs;
public:
TakeAnimationParticle(Level *level, shared_ptr<Entity> item, 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();
};
|