Class cc.ParticleExplosion
- Defined in: CCParticleExamples.js
- Extends cc.ParticleSystem
Constructor Attributes | Constructor Name and Description |
---|---|
An explosion particle system
|
Method Summary
Class Detail
cc.ParticleExplosion()
An explosion particle system
var emitter = new cc.ParticleExplosion();
Method Detail
-
Create an explosion particle system
- Deprecated:
- since v3.0 please use new cc.ParticleExplosion() instead.
- Returns:
- {cc.ParticleExplosion}
-
ctor()
The cc.ParticleExplosion's constructor.
This function will automatically be invoked when you create a node using new construction: "var node = new cc.ParticleExplosion()".
Override it to extend its behavior, remember to call "this._super()" in the extended "ctor" function. -
{Boolean} initWithTotalParticles(numberOfParticles)initialize an explosion particle system with number Of Particles
- Parameters:
- {Number} numberOfParticles
- Returns:
- {Boolean}