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

#include <CCFrame.h>

Inheritance diagram for InnerActionFrame:
Frame Ref

Public Member Functions

 InnerActionFrame ()
virtual void onEnter (Frame *nextFrame, int currentFrameIndex) override
virtual Frameclone () override
void setInnerActionType (InnerActionType type)
InnerActionType getInnerActionType () const
void setEnterWithName (bool isEnterWithName)
void setStartFrameIndex (int frameIndex)
int getStartFrameIndex () const
void setEndFrameIndex (int frameIndex)
int getEndFrameIndex () const
void setAnimationName (const std::string &animationNamed)
void setSingleFrameIndex (int frameIndex)
int getSingleFrameIndex () const
- 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 TimelinegetTimeline () const
virtual void setNode (cocos2d::Node *node)
local setNode ( local node)
virtual cocos2d::NodegetNode () 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...
 
Refautorelease ()
 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 InnerActionFramecreate ()

Static Public Attributes

static const std::string AnimationAllName

Protected Attributes

InnerActionType _innerActionType
int _startFrameIndex
int _endFrameIndex
int _singleFrameIndex
std::string _animationName
bool _enterWithName
- 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

Member Function Documentation

virtual Frame* clone ( )
overridevirtual

Implements Frame.

static InnerActionFrame* create ( )
static
int getEndFrameIndex ( ) const
inline
InnerActionType getInnerActionType ( ) const
inline
int getSingleFrameIndex ( ) const
inline
int getStartFrameIndex ( ) const
inline
virtual void onEnter ( Frame nextFrame,
int  currentFrameIndex 
)
overridevirtual

Implements Frame.

void setAnimationName ( const std::string &  animationNamed)
void setEndFrameIndex ( int  frameIndex)
void setEnterWithName ( bool  isEnterWithName)
inline
void setInnerActionType ( InnerActionType  type)
inline
void setSingleFrameIndex ( int  frameIndex)
inline
void setStartFrameIndex ( int  frameIndex)

Member Data Documentation

std::string _animationName
protected
int _endFrameIndex
protected
bool _enterWithName
protected
InnerActionType _innerActionType
protected
int _singleFrameIndex
protected
int _startFrameIndex
protected
const std::string AnimationAllName
static

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