Ability to emit a certain number of particles
reduced code duplication
Merge pull request #140 from phr00t/master

Ability to emit a certain number of particles