diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-16 21:12:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-16 21:12:23 +0300 |
commit | b08de2d689c845c740fd25294bf93adf226fdb97 (patch) | |
tree | 3cc6b33808e3e707dfd2830f39e1767eff4f6f6f /src/particle/particle.h | |
parent | 558ef7174653df9d435e818bf16130443b0dd5be (diff) | |
download | plus-b08de2d689c845c740fd25294bf93adf226fdb97.tar.gz plus-b08de2d689c845c740fd25294bf93adf226fdb97.tar.bz2 plus-b08de2d689c845c740fd25294bf93adf226fdb97.tar.xz plus-b08de2d689c845c740fd25294bf93adf226fdb97.zip |
Move animation field from child particles classes into Particle.
Diffstat (limited to 'src/particle/particle.h')
-rw-r--r-- | src/particle/particle.h | 4 |
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; |