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