summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h
index 2e48211d..1d2b6526 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -96,6 +96,13 @@ class Particle : public Sprite
*/
void setMap(Map *map);
+
+ /**
+ * Creates a blank particle as a child of the current particle
+ * Useful for creating target particles
+ */
+ Particle *createChild();
+
/**
* Creates a child particle that hosts some emitters described in the
* particleEffectFile.