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

#include <CCFrame.h>

Inheritance diagram for EventFrame:
Frame Ref

Public Member Functions

void init ()
 EventFrame ()
 EventFrame ()
 EventFrame ()
virtual void setNode (cocos2d::Node *node)
local setNode ( local node)
virtual void onEnter (Frame *nextFrame, int currentFrameIndex) override
local onEnter ( local nextFrame, local currentFrameIndex)
virtual Frame * clone () override
void setEvent (std::string event)
std::string getEvent () const
var getEvent ()
local getEvent ()
- Public Member Functions inherited from Frame
virtual void setFrameIndex (unsigned int frameIndex)
var setFrameIndex ( var frameIndex)
local setFrameIndex ( local frameIndex)
virtual unsigned int getFrameIndex () const
virtual void setTimeline (Timeline *timeline)
local setTimeline ( local timeline)
virtual Timeline * getTimeline () const
virtual cocos2d::Node * getNode () const
local getNode ()
virtual void setTween (bool tween)
local setTween ( local tween)
virtual bool isTween () const
var isTween ()
local isTween ()
virtual bool isEnterWhenPassed ()
virtual void apply (float percent)
- 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 ()

Static Public Member Functions

static EventFrame * create ()
local create ()

Protected Attributes

std::string _event
ActionTimeline * _action
- Protected Attributes inherited from Frame
unsigned int _frameIndex
bool _tween
bool _enterWhenPassed
Timeline * _timeline
cocos2d::Node * _node
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
var _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Additional Inherited Members

- Protected Member Functions inherited from Frame
 Frame ()
virtual ~Frame ()
virtual void emitEvent ()
virtual void cloneProperty (Frame *frame)
local cloneProperty ( local frame)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

var EventFrame ( )
local EventFrame ( )

Member Function Documentation

virtual Frame* clone ( )
overridevirtual

Implements Frame.

var clone ( )
overridevirtual

Implements Frame.

local clone ( )
overridevirtual

Implements Frame.

static EventFrame* create ( )
static
var create ( )
static
local create ( )
static
std::string getEvent ( ) const
inline
var getEvent ( )
inline
local getEvent ( )
inline
void init ( )
var init ( )
local init ( )
virtual void onEnter ( Frame *  nextFrame,
int  currentFrameIndex 
)
overridevirtual

Implements Frame.

var onEnter ( var  nextFrame,
var  currentFrameIndex 
)
overridevirtual

Implements Frame.

local onEnter ( local  nextFrame,
local  currentFrameIndex 
)
overridevirtual

Implements Frame.

void setEvent ( std::string  event)
inline
var setEvent ( var  event)
inline
local setEvent ( local  event)
inline
virtual void setNode ( cocos2d::Node *  node)
virtual

Reimplemented from Frame.

var setNode ( var  node)
virtual

Reimplemented from Frame.

local setNode ( local  node)
virtual

Reimplemented from Frame.

Member Data Documentation

ActionTimeline* _action
protected
var _action
protected
local _action
protected
std::string _event
protected
var _event
protected
local _event
protected

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