Class cc.ParticleFireworks

Class Summary
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

  • <static> {cc.ParticleFireworks} cc.ParticleFireworks.create()
    Create a fireworks particle system
    var emitter = cc.ParticleFireworks.create();
    Returns:
    {cc.ParticleFireworks}
  • {Boolean} init()
    initialize a fireworks particle system
    Returns:
    {Boolean}
  • {Boolean} initWithTotalParticles(numberOfParticles)
    initialize a fireworks particle system with number Of Particles
    Parameters:
    {Number} numberOfParticles
    Returns:
    {Boolean}