Class cc.ParticleFireworks
- Defined in: CCParticleExamples.js
- Extends cc.ParticleSystem
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
A fireworks particle system
|
Method Summary
Class Detail
cc.ParticleFireworks()
A fireworks particle system
var emitter = cc.ParticleFireworks.create();
Method Detail
-
Create a fireworks particle system
var emitter = cc.ParticleFireworks.create();
- Returns:
- {cc.ParticleFireworks}
-
{Boolean} initWithTotalParticles(numberOfParticles)initialize a fireworks particle system with number Of Particles
- Parameters:
- {Number} numberOfParticles
- Returns:
- {Boolean}