cocos2d-x  3.2rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RotationFrame Class Reference

#include <CCFrame.h>

Inheritance diagram for RotationFrame:
Frame Ref

Public Member Functions

 RotationFrame ()
virtual void onEnter (Frame *nextFrame) override
local onEnter ( local nextFrame)
virtual void apply (float percent) override
virtual Frame * clone () override
var clone ()
local clone ()
void setRotation (float rotation)
float getRotation () const
var getRotation ()
local getRotation ()
- Public Member Functions inherited from Frame
virtual void setFrameIndex (unsigned int 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 ()
- 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 RotationFrame * create ()
local create ()

Protected Attributes

float _rotation
float _betwennRotation
- Protected Attributes inherited from Frame
unsigned int _frameIndex
bool _tween
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 RotationFrame ( )
local RotationFrame ( )

Member Function Documentation

virtual void apply ( float  percent)
overridevirtual

Reimplemented from Frame.

var apply ( var  percent)
overridevirtual

Reimplemented from Frame.

local apply ( local  percent)
overridevirtual

Reimplemented from Frame.

virtual Frame* clone ( )
overridevirtual

Implements Frame.

var clone ( )
overridevirtual

Implements Frame.

local clone ( )
overridevirtual

Implements Frame.

static RotationFrame* create ( )
static
var create ( )
static
local create ( )
static
float getRotation ( ) const
inline
var getRotation ( )
inline
local getRotation ( )
inline
virtual void onEnter ( Frame *  nextFrame)
overridevirtual

Implements Frame.

var onEnter ( var  nextFrame)
overridevirtual

Implements Frame.

local onEnter ( local  nextFrame)
overridevirtual

Implements Frame.

void setRotation ( float  rotation)
inline
var setRotation ( var  rotation)
inline
local setRotation ( local  rotation)
inline

Member Data Documentation

float _betwennRotation
protected
var _betwennRotation
protected
local _betwennRotation
protected
float _rotation
protected
var _rotation
protected
local _rotation
protected

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