cocos2d-x  3.4
 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 AlphaFrame AnchorPointFrame ColorFrame EventFrame InnerActionFrame PositionFrame RotationFrame ScaleFrame SkewFrame TextureFrame VisibleFrame ZOrderFrame

Public Member Functions

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 void setNode (cocos2d::Node *node)
local setNode ( local node)
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 onEnter (Frame *nextFrame, int currentFrameIndex)=0
local onEnter ( local nextFrame, local currentFrameIndex)
virtual void apply (float percent)
virtual Frame * clone ()=0
var clone ()
local clone ()
- 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 ()

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...
 
 Ref ()
 Constructor. More...
 

Protected Attributes

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...
 

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 isEnterWhenPassed ( )
inlinevirtual
var isEnterWhenPassed ( )
inlinevirtual
local isEnterWhenPassed ( )
inlinevirtual
virtual bool isTween ( ) const
inlinevirtual
var isTween ( )
inlinevirtual
local isTween ( )
inlinevirtual
virtual void onEnter ( Frame *  nextFrame,
int  currentFrameIndex 
)
pure virtual
var onEnter ( var  nextFrame,
var  currentFrameIndex 
)
pure virtual
local onEnter ( local  nextFrame,
local  currentFrameIndex 
)
pure virtual
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 EventFrame, and TextureFrame.

var setNode ( var  node)
inlinevirtual

Reimplemented in EventFrame, and TextureFrame.

local setNode ( local  node)
inlinevirtual

Reimplemented in EventFrame, and 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

bool _enterWhenPassed
protected
var _enterWhenPassed
protected
local _enterWhenPassed
protected
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: