Class cc.ParticleFlower

Class Summary
Constructor Attributes Constructor Name and Description
 
A flower particle system

Method Summary

Class Detail

cc.ParticleFlower()
A flower particle system
var emitter = new cc.ParticleFlower();

Method Detail

  • <static> {cc.ParticleFlower} cc.ParticleFlower.create()
    Create a flower particle system
    Deprecated:
    since v3.0 please use new cc.ParticleFlower() instead.
    Returns:
    {cc.ParticleFlower}
  • ctor()

    The cc.ParticleFlower's constructor.
    This function will automatically be invoked when you create a node using new construction: "var node = new cc.ParticleFlower()".
    Override it to extend its behavior, remember to call "this._super()" in the extended "ctor" function.

  • {Boolean} initWithTotalParticles(numberOfParticles)
    initialize a flower particle system with number Of Particles
    Parameters:
    {Number} numberOfParticles
    Returns:
    {Boolean}