summaryrefslogtreecommitdiff
path: root/src/particle/particle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 21:12:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 21:12:23 +0300
commitb08de2d689c845c740fd25294bf93adf226fdb97 (patch)
tree3cc6b33808e3e707dfd2830f39e1767eff4f6f6f /src/particle/particle.h
parent558ef7174653df9d435e818bf16130443b0dd5be (diff)
downloadmanaverse-b08de2d689c845c740fd25294bf93adf226fdb97.tar.gz
manaverse-b08de2d689c845c740fd25294bf93adf226fdb97.tar.bz2
manaverse-b08de2d689c845c740fd25294bf93adf226fdb97.tar.xz
manaverse-b08de2d689c845c740fd25294bf93adf226fdb97.zip
Move animation field from child particles classes into Particle.
Diffstat (limited to 'src/particle/particle.h')
-rw-r--r--src/particle/particle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/particle/particle.h b/src/particle/particle.h
index f76557e11..eb971ec4a 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -36,6 +36,7 @@ class Color;
class Font;
class Particle;
class ParticleEmitter;
+class SimpleAnimation;
/**
* A particle spawned by a ParticleEmitter.
@@ -264,6 +265,9 @@ class Particle notfinal : public Actor
ParticleType mType;
+ /**< Used animation for this particle */
+ SimpleAnimation *restrict mAnimation;
+
private:
// List of child emitters.
Emitters mChildEmitters;