diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/TakeAnimationParticle.h | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
Diffstat (limited to 'Minecraft.Client/TakeAnimationParticle.h')
| -rw-r--r-- | Minecraft.Client/TakeAnimationParticle.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Minecraft.Client/TakeAnimationParticle.h b/Minecraft.Client/TakeAnimationParticle.h new file mode 100644 index 00000000..10026fda --- /dev/null +++ b/Minecraft.Client/TakeAnimationParticle.h @@ -0,0 +1,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(); +};
\ No newline at end of file |
