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

#include <CCPUEventHandler.h>

Inheritance diagram for PUEventHandler:
Ref PUDoAffectorEventHandler PUDoEnableComponentEventHandler PUDoExpireEventHandler PUDoFreezeEventHandler PUDoPlacementParticleEventHandler PUDoScaleEventHandler PUDoStopSystemEventHandler

Public Member Functions

const std::string & getName (void) const
 Todo. More...
 
local getName ()
 Todo. More...
 
void setName (const std::string &name)
PUObserver * getParentObserver (void) const
 Todo. More...
 
var getParentObserver ()
 Todo. More...
 
local getParentObserver ()
 Todo. More...
 
void setParentObserver (PUObserver *parentObserver)
const std::string & getEventHandlerType (void) const
 Todo. More...
 
local getEventHandlerType ()
 Todo. More...
 
void setEventHandlerType (const std::string &eventHandlerType)
virtual void notifyRescaled (const Vec3 &scale)
 Notify that the event handler is rescaled. More...
 
virtual void handle (PUParticleSystem3D *particleSystem, PUParticle3D *particle, float timeElapsed)=0
 Todo. More...
 
local handle ( local particleSystem, local particle, local timeElapsed)
 Todo. More...
 
virtual void copyAttributesTo (PUEventHandler *eventHandler)
virtual ~PUEventHandler ()
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Ref * autorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Public Attributes

CC_CONSTRUCTOR_ACCESS __pad0__: PUEventHandler()
var __pad0__: PUEventHandler()
local __pad0__: PUEventHandler()

Protected Attributes

PUObserver * _parentObserver
std::string _eventHandlerType
std::string _name
Vec3 _eventHandlerScale
 Although the scale is on a Particle System level, the event handler can also be scaled. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

virtual ~PUEventHandler ( )
virtual
var ~PUEventHandler ( )
virtual
local ~PUEventHandler ( )
virtual

Member Function Documentation

virtual void copyAttributesTo ( PUEventHandler *  eventHandler)
virtual
var copyAttributesTo ( var  eventHandler)
virtual
local copyAttributesTo ( local  eventHandler)
virtual
const std::string&
getEventHandlerType
( void  ) const
inline

Todo.

var getEventHandlerType (   )
inline

Todo.

local getEventHandlerType (   )
inline

Todo.

const std::string& getName ( void  ) const
inline

Todo.

var getName (   )
inline

Todo.

local getName (   )
inline

Todo.

PUObserver* getParentObserver ( void  ) const
inline

Todo.

var getParentObserver (   )
inline

Todo.

local getParentObserver (   )
inline

Todo.

var handle ( var  particleSystem,
var  particle,
var  timeElapsed 
)
pure virtual
local handle ( local  particleSystem,
local  particle,
local  timeElapsed 
)
pure virtual
virtual void notifyRescaled ( const Vec3 &  scale)
inlinevirtual

Notify that the event handler is rescaled.

var notifyRescaled ( var  scale)
inlinevirtual

Notify that the event handler is rescaled.

local notifyRescaled ( local  scale)
inlinevirtual

Notify that the event handler is rescaled.

void setEventHandlerType ( const std::string &  eventHandlerType)
inline
var setEventHandlerType ( var  eventHandlerType)
inline
local setEventHandlerType ( local  eventHandlerType)
inline
void setName ( const std::string &  name)
inline
var setName ( var  name)
inline
local setName ( local  name)
inline
void setParentObserver ( PUObserver *  parentObserver)
inline
var setParentObserver ( var  parentObserver)
inline
local setParentObserver ( local  parentObserver)
inline

Member Data Documentation

var __pad0__
local __pad0__
Vec3 _eventHandlerScale
protected

Although the scale is on a Particle System level, the event handler can also be scaled.

var _eventHandlerScale
protected

Although the scale is on a Particle System level, the event handler can also be scaled.

local _eventHandlerScale
protected

Although the scale is on a Particle System level, the event handler can also be scaled.

std::string _eventHandlerType
protected
var _eventHandlerType
protected
local _eventHandlerType
protected
std::string _name
protected
var _name
protected
local _name
protected
PUObserver* _parentObserver
protected
var _parentObserver
protected
local _parentObserver
protected

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