diff options
Diffstat (limited to 'src/particle.h')
-rw-r--r-- | src/particle.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h index c1e283d4..87360bec 100644 --- a/src/particle.h +++ b/src/particle.h @@ -250,6 +250,12 @@ class Particle : public Sprite void setDieDistance(float dist) { mInvDieDistance = 1.0f / dist; } + /** + * Changes the size of the emitters so that the effect fills a + * rectangle of this size + */ + void adjustEmitterSize(int w, int h); + bool isAlive() { return mAlive; } |