summaryrefslogtreecommitdiff
path: root/src/particle/particleemitter.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-12 16:02:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-12 16:02:15 +0300
commit47cf0d69e8026927ca69547a17ac8e1d288538b7 (patch)
treeb8ec4ec0879b82a71994651f1454e039570f4fe5 /src/particle/particleemitter.h
parent8f0610ac50a950f6c8b101191dd30956c851aaf7 (diff)
downloadplus-47cf0d69e8026927ca69547a17ac8e1d288538b7.tar.gz
plus-47cf0d69e8026927ca69547a17ac8e1d288538b7.tar.bz2
plus-47cf0d69e8026927ca69547a17ac8e1d288538b7.tar.xz
plus-47cf0d69e8026927ca69547a17ac8e1d288538b7.zip
Improve a bit particles creation.
Diffstat (limited to 'src/particle/particleemitter.h')
-rw-r--r--src/particle/particleemitter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/particleemitter.h b/src/particle/particleemitter.h
index 395f09ac4..41381b6e1 100644
--- a/src/particle/particleemitter.h
+++ b/src/particle/particleemitter.h
@@ -66,9 +66,9 @@ class ParticleEmitter final
/**
* Spawns new particles
- * @return: a list of created particles
*/
- std::list<Particle *> createParticles(const int tick);
+ void createParticles(const int tick,
+ std::vector<Particle*> &newParticles);
/**
* Sets the target of the particles that are created