cocos2d-x  3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PUSlaveBehaviour Class Reference

#include <CCPUSlaveBehaviour.h>

Inheritance diagram for PUSlaveBehaviour:
PUBehaviour Ref

Public Member Functions

virtual void updateBehaviour (PUParticle3D *particle, float deltaTime)
 See ParticleBehaviour. More...
 
var updateBehaviour ( var particle, var deltaTime)
 See ParticleBehaviour. More...
 
local updateBehaviour ( local particle, local deltaTime)
 See ParticleBehaviour. More...
 
virtual PUSlaveBehaviourclone () override
local clone ()
virtual void copyAttributesTo (PUBehaviour *behaviour)
local copyAttributesTo ( local behaviour)
virtual ~PUSlaveBehaviour ()
- Public Member Functions inherited from PUBehaviour
const std::string & getBehaviourType (void) const
 Todo. More...
 
void setBehaviourType (const std::string &behaviourType)
virtual void notifyRescaled (const Vec3 &scale)
 Notify that the Behaviour is rescaled. More...
 
var notifyRescaled ( var scale)
 Notify that the Behaviour is rescaled. More...
 
local notifyRescaled ( local scale)
 Notify that the Behaviour is rescaled. More...
 
virtual void prepare ()
virtual void unPrepare ()
virtual void initParticleForEmission (PUParticle3D *particle)
 Perform initialising activities as soon as the particle with which the ParticleBehaviour is associated, is emitted. More...
 
var initParticleForEmission ( var particle)
 Perform initialising activities as soon as the particle with which the ParticleBehaviour is associated, is emitted. More...
 
local initParticleForEmission ( local particle)
 Perform initialising activities as soon as the particle with which the ParticleBehaviour is associated, is emitted. More...
 
virtual void initParticleForExpiration (PUParticle3D *particle, float timeElapsed)
 Perform some action if a particle expires. More...
 
virtual ~PUBehaviour (void)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Static Public Member Functions

static PUSlaveBehaviourcreate ()
local create ()

Public Attributes

PUParticle3DmasterParticle
CC_CONSTRUCTOR_ACCESS __pad0__: PUSlaveBehaviour()
var __pad0__: PUSlaveBehaviour()
local __pad0__: PUSlaveBehaviour()
- Public Attributes inherited from PUBehaviour
CC_CONSTRUCTOR_ACCESS __pad0__: PUBehaviour(void)

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from PUBehaviour
PUParticleSystem3D_particleSystem
std::string _behaviourType
Vec3 _behaviourScale
 Although the scale is on a Particle System level, the behaviour can also be scaled. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

virtual ~PUSlaveBehaviour ( )
virtual
var ~PUSlaveBehaviour ( )
virtual
local ~PUSlaveBehaviour ( )
virtual

Member Function Documentation

virtual PUSlaveBehaviour* clone ( )
overridevirtual

Reimplemented from PUBehaviour.

var clone ( )
overridevirtual

Reimplemented from PUBehaviour.

local clone ( )
overridevirtual

Reimplemented from PUBehaviour.

virtual void copyAttributesTo ( PUBehaviour behaviour)
virtual

Reimplemented from PUBehaviour.

var copyAttributesTo ( var  behaviour)
virtual

Reimplemented from PUBehaviour.

local copyAttributesTo ( local  behaviour)
virtual

Reimplemented from PUBehaviour.

static PUSlaveBehaviour* create ( )
static
var create ( )
static
local create ( )
static
virtual void updateBehaviour ( PUParticle3D particle,
float  deltaTime 
)
virtual

See ParticleBehaviour.

Reimplemented from PUBehaviour.

var updateBehaviour ( var  particle,
var  deltaTime 
)
virtual

See ParticleBehaviour.

Reimplemented from PUBehaviour.

local updateBehaviour ( local  particle,
local  deltaTime 
)
virtual

See ParticleBehaviour.

Reimplemented from PUBehaviour.

Member Data Documentation

var __pad0__
local __pad0__
PUParticle3D* masterParticle
var masterParticle
local masterParticle

The documentation for this class was generated from the following file: