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

#include <CCTimeLine.h>

Inheritance diagram for Timeline:
Ref

Public Member Functions

 Timeline ()
virtual ~Timeline ()
virtual void gotoFrame (int frameIndex)
virtual void stepToFrame (int frameIndex)
var stepToFrame ( var frameIndex)
local stepToFrame ( local frameIndex)
virtual const cocos2d::Vector
< Frame * > & 
getFrames () const
local getFrames ()
virtual void addFrame (Frame *frame)
var addFrame ( var frame)
local addFrame ( local frame)
virtual void insertFrame (Frame *frame, int index)
local insertFrame ( local frame, local index)
virtual void removeFrame (Frame *frame)
virtual void setActionTag (int tag)
var setActionTag ( var tag)
local setActionTag ( local tag)
virtual int getActionTag () const
var getActionTag ()
local getActionTag ()
virtual void setNode (cocos2d::Node *node)
virtual cocos2d::NodegetNode () const
local getNode ()
virtual void setActionTimeline (ActionTimeline *action)
local setActionTimeline ( local action)
virtual ActionTimelinegetActionTimeline () const
local getActionTimeline ()
virtual Timelineclone ()
local clone ()
- 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 Timelinecreate ()

Protected Member Functions

virtual void apply (int frameIndex)
local apply ( local frameIndex)
virtual void binarySearchKeyFrame (int frameIndex)
var binarySearchKeyFrame ( var frameIndex)
local binarySearchKeyFrame ( local frameIndex)
virtual void updateCurrentKeyFrame (int frameIndex)
local updateCurrentKeyFrame ( local frameIndex)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Protected Attributes

cocos2d::Vector< Frame * > _frames
Frame_currentKeyFrame
int _currentKeyFrameIndex
int _fromIndex
int _toIndex
int _betweenDuration
int _actionTag
ActionTimeline_ActionTimeline
cocos2d::Node_node
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

Timeline ( )
var Timeline ( )
local Timeline ( )
virtual ~Timeline ( )
virtual
var ~Timeline ( )
virtual
local ~Timeline ( )
virtual

Member Function Documentation

virtual void addFrame ( Frame frame)
virtual
var addFrame ( var  frame)
virtual
local addFrame ( local  frame)
virtual
virtual void apply ( int  frameIndex)
protectedvirtual
var apply ( var  frameIndex)
protectedvirtual
local apply ( local  frameIndex)
protectedvirtual
virtual void binarySearchKeyFrame ( int  frameIndex)
protectedvirtual
var binarySearchKeyFrame ( var  frameIndex)
protectedvirtual
local binarySearchKeyFrame ( local  frameIndex)
protectedvirtual
virtual Timeline* clone ( )
virtual
var clone ( )
virtual
local clone ( )
virtual
static Timeline* create ( )
static
var create ( )
static
local create ( )
static
virtual int getActionTag ( ) const
inlinevirtual
var getActionTag ( )
inlinevirtual
local getActionTag ( )
inlinevirtual
virtual ActionTimeline*
getActionTimeline
( ) const
inlinevirtual
var getActionTimeline ( )
inlinevirtual
local getActionTimeline ( )
inlinevirtual
virtual const cocos2d::Vector
<Frame*>& getFrames
( ) const
inlinevirtual
var getFrames ( )
inlinevirtual
local getFrames ( )
inlinevirtual
virtual cocos2d::Node* getNode ( ) const
virtual
var getNode ( )
virtual
local getNode ( )
virtual
virtual void gotoFrame ( int  frameIndex)
virtual
var gotoFrame ( var  frameIndex)
virtual
local gotoFrame ( local  frameIndex)
virtual
virtual void insertFrame ( Frame frame,
int  index 
)
virtual
var insertFrame ( var  frame,
var  index 
)
virtual
local insertFrame ( local  frame,
local  index 
)
virtual
virtual void removeFrame ( Frame frame)
virtual
var removeFrame ( var  frame)
virtual
local removeFrame ( local  frame)
virtual
virtual void setActionTag ( int  tag)
inlinevirtual
var setActionTag ( var  tag)
inlinevirtual
local setActionTag ( local  tag)
inlinevirtual
virtual void setActionTimeline ( ActionTimeline action)
inlinevirtual
var setActionTimeline ( var  action)
inlinevirtual
local setActionTimeline ( local  action)
inlinevirtual
virtual void setNode ( cocos2d::Node node)
virtual
var setNode ( var  node)
virtual
local setNode ( local  node)
virtual
virtual void stepToFrame ( int  frameIndex)
virtual
var stepToFrame ( var  frameIndex)
virtual
local stepToFrame ( local  frameIndex)
virtual
virtual void updateCurrentKeyFrame ( int  frameIndex)
protectedvirtual
var updateCurrentKeyFrame ( var  frameIndex)
protectedvirtual
local updateCurrentKeyFrame ( local  frameIndex)
protectedvirtual

Member Data Documentation

int _actionTag
protected
var _actionTag
protected
local _actionTag
protected
ActionTimeline* _ActionTimeline
protected
var _ActionTimeline
protected
local _ActionTimeline
protected
int _betweenDuration
protected
var _betweenDuration
protected
local _betweenDuration
protected
Frame* _currentKeyFrame
protected
var _currentKeyFrame
protected
local _currentKeyFrame
protected
int _currentKeyFrameIndex
protected
var _currentKeyFrameIndex
protected
local _currentKeyFrameIndex
protected
cocos2d::Vector<Frame*> _frames
protected
var _frames
protected
local _frames
protected
int _fromIndex
protected
var _fromIndex
protected
local _fromIndex
protected
cocos2d::Node* _node
protected
var _node
protected
local _node
protected
int _toIndex
protected
var _toIndex
protected
local _toIndex
protected

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