the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 22 lines 600 B view raw
1#pragma once 2#include "Particle.h" 3class Entity; 4 5class TakeAnimationParticle : public Particle 6{ 7public: 8 virtual eINSTANCEOF GetType() { return eType_TAKEANIMATIONPARTICLE; } 9private: 10 shared_ptr<Entity> item; 11 shared_ptr<Entity> target; 12 int life; 13 int lifeTime; 14 float yOffs; 15 16public: 17 TakeAnimationParticle(Level *level, shared_ptr<Entity> item, shared_ptr<Entity> target, float yOffs); 18 ~TakeAnimationParticle(); 19 virtual void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2); 20 virtual void tick(); 21 virtual int getParticleTexture(); 22};