diff options
Diffstat (limited to 'src/particle.cpp')
-rw-r--r-- | src/particle.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/particle.cpp b/src/particle.cpp index 560886f8..d3dbfd64 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -378,6 +378,15 @@ Particle *Particle::addTextRiseFadeOutEffect(const std::string &text, return newParticle; } +void Particle::adjustEmitterSize(int w, int h) +{ + for (EmitterIterator e = mChildEmitters.begin(); + e != mChildEmitters.end(); e++) + { + (*e)->adjustSize(w, h); + } +} + void Particle::setMap(Map *map) { mMap = map; |