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...
 
virtual PUSlaveBehaviourclone () override
virtual void copyAttributesTo (PUBehaviour *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...
 
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...
 
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 ()

Public Attributes

PUParticle3DmasterParticle
CC_CONSTRUCTOR_ACCESS __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...
 
- 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...
 

Constructor & Destructor Documentation

virtual ~PUSlaveBehaviour ( )
virtual

Member Function Documentation

virtual PUSlaveBehaviour* clone ( )
overridevirtual

Reimplemented from PUBehaviour.

virtual void copyAttributesTo ( PUBehaviour behaviour)
virtual

Reimplemented from PUBehaviour.

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

See ParticleBehaviour.

Reimplemented from PUBehaviour.

Member Data Documentation

PUParticle3D* masterParticle

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