diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-06-03 17:42:54 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-06-03 17:42:54 +0000 |
commit | 778ca33725a8bfac629b405f0bd26cfefaf47caf (patch) | |
tree | 0b20376964c8b60f30c2827b1790cb038740a00b /src/particle.h | |
parent | 6276c1ff96e449e73e84977110334cd8957c31b6 (diff) | |
download | mana-client-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.gz mana-client-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.bz2 mana-client-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.xz mana-client-778ca33725a8bfac629b405f0bd26cfefaf47caf.zip |
Have ParticleEmitter load a possible particle image early on and don't cause a
crash when the image can't be found.
Diffstat (limited to 'src/particle.h')
-rw-r--r-- | src/particle.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h index 544a7f58..7a747a5f 100644 --- a/src/particle.h +++ b/src/particle.h @@ -54,8 +54,16 @@ class Particle : public Sprite static int maxCount; /**< Maximum number of particles */ static int emitterSkip; /**< Duration of pause between two emitter updates in ticks */ + /** + * Constructor. + * + * @param map the map this particle will add itself to, may be NULL + */ Particle(Map *map); + /** + * Destructor. + */ ~Particle(); /** |