summaryrefslogtreecommitdiff
path: root/src/particleemitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particleemitter.h')
-rw-r--r--src/particleemitter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/particleemitter.h b/src/particleemitter.h
index 6c87755c..cc073c1c 100644
--- a/src/particleemitter.h
+++ b/src/particleemitter.h
@@ -73,6 +73,12 @@ class ParticleEmitter
void setTarget(Particle *target)
{ mParticleTarget = target; };
+ /**
+ * Changes the size of the emitter so that the effect fills a
+ * rectangle of this size
+ */
+ void adjustSize(int w, int h);
+
private:
template <typename T> ParticleEmitterProp<T> readParticleEmitterProp(xmlNodePtr propertyNode, T def);