summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-03 17:42:54 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-06-03 17:42:54 +0000
commit778ca33725a8bfac629b405f0bd26cfefaf47caf (patch)
tree0b20376964c8b60f30c2827b1790cb038740a00b /src/particle.h
parent6276c1ff96e449e73e84977110334cd8957c31b6 (diff)
downloadmana-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.gz
mana-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.bz2
mana-778ca33725a8bfac629b405f0bd26cfefaf47caf.tar.xz
mana-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.h8
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();
/**