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

#include <CCFrame.h>

Inheritance diagram for Frame:
Ref AnchorPointFrame ColorFrame EventFrame InnerActionFrame PositionFrame RotationFrame ScaleFrame SkewFrame TextureFrame VisibleFrame ZOrderFrame

Public Member Functions

virtual void setFrameIndex (unsigned int 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 void onEnter (Frame *nextFrame)=0
virtual void apply (float percent)
virtual Frameclone ()=0
var clone ()
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 ()

Protected Member Functions

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

Protected Attributes

unsigned int _frameIndex
bool _tween
Timeline_timeline
cocos2d::Node_node
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

Frame ( )
protected
var Frame ( )
protected
local Frame ( )
protected
virtual ~Frame ( )
protectedvirtual
var ~Frame ( )
protectedvirtual
local ~Frame ( )
protectedvirtual

Member Function Documentation

virtual void apply ( float  percent)
inlinevirtual
var apply ( var  percent)
inlinevirtual
local apply ( local  percent)
inlinevirtual
virtual void cloneProperty ( Frame frame)
protectedvirtual
var cloneProperty ( var  frame)
protectedvirtual
local cloneProperty ( local  frame)
protectedvirtual
virtual void emitEvent ( )
protectedvirtual
var emitEvent ( )
protectedvirtual
local emitEvent ( )
protectedvirtual
virtual unsigned int getFrameIndex ( ) const
inlinevirtual
var getFrameIndex ( )
inlinevirtual
local getFrameIndex ( )
inlinevirtual
virtual cocos2d::Node* getNode ( ) const
inlinevirtual
var getNode ( )
inlinevirtual
local getNode ( )
inlinevirtual
virtual Timeline* getTimeline ( ) const
inlinevirtual
var getTimeline ( )
inlinevirtual
local getTimeline ( )
inlinevirtual
virtual bool isTween ( ) const
inlinevirtual
var isTween ( )
inlinevirtual
local isTween ( )
inlinevirtual
virtual void setFrameIndex ( unsigned int  frameIndex)
inlinevirtual
var setFrameIndex ( var  frameIndex)
inlinevirtual
local setFrameIndex ( local  frameIndex)
inlinevirtual
virtual void setNode ( cocos2d::Node node)
inlinevirtual

Reimplemented in TextureFrame.

var setNode ( var  node)
inlinevirtual

Reimplemented in TextureFrame.

local setNode ( local  node)
inlinevirtual

Reimplemented in TextureFrame.

virtual void setTimeline ( Timeline timeline)
inlinevirtual
var setTimeline ( var  timeline)
inlinevirtual
local setTimeline ( local  timeline)
inlinevirtual
virtual void setTween ( bool  tween)
inlinevirtual
var setTween ( var  tween)
inlinevirtual
local setTween ( local  tween)
inlinevirtual

Member Data Documentation

unsigned int _frameIndex
protected
var _frameIndex
protected
local _frameIndex
protected
cocos2d::Node* _node
protected
var _node
protected
local _node
protected
Timeline* _timeline
protected
var _timeline
protected
local _timeline
protected
bool _tween
protected
var _tween
protected
local _tween
protected

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