summaryrefslogtreecommitdiff
path: root/src/particleemitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particleemitter.h')
-rw-r--r--src/particleemitter.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/particleemitter.h b/src/particleemitter.h
index c9524488..b7331527 100644
--- a/src/particleemitter.h
+++ b/src/particleemitter.h
@@ -119,10 +119,12 @@ class ParticleEmitter
MinMax<int> mOutput; /**< Number of particles spawned per update */
+ /*
+ * Graphical representation of the particle
+ */
Image *mParticleImage; /**< Particle image, if used */
-
- /** Filename of particle animation file */
- Animation mParticleAnimation;
+ Animation mParticleAnimation; /**< Filename of particle animation file */
+ MinMax<float> mParticleAlpha; /**< Opacity of the graphical representation of the particles */
/** List of emitters the spawned particles are equipped with */
std::list<ParticleEmitter> mParticleChildEmitters;