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