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

#include <CCFrame.h>

Inheritance diagram for PositionFrame:
Frame Ref

Public Member Functions

 PositionFrame ()
virtual void onEnter (Frame *nextFrame) override
local onEnter ( local nextFrame)
virtual void apply (float percent) override
local apply ( local percent)
virtual Frameclone () override
var clone ()
local clone ()
void setPosition (const cocos2d::Point &position)
local setPosition ( local position)
cocos2d::Point getPosition () const
void setX (float x)
void setY (float y)
var setY ( var y)
local setY ( local y)
float getX () const
var getX ()
local getX ()
float getY () const
- 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 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 ()
- 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...
 
local getReferenceCount ()
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Static Public Member Functions

static PositionFramecreate ()
local create ()

Protected Attributes

cocos2d::Point _position
float _betweenX
float _betweenY
- 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...
 
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 PositionFrame ( )
local PositionFrame ( )

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 PositionFrame* create ( )
static
var create ( )
static
local create ( )
static
cocos2d::Point getPosition ( ) const
inline
var getPosition ( )
inline
local getPosition ( )
inline
float getX ( ) const
inline
var getX ( )
inline
local getX ( )
inline
float getY ( ) const
inline
var getY ( )
inline
local getY ( )
inline
virtual void onEnter ( Frame nextFrame)
overridevirtual

Implements Frame.

var onEnter ( var  nextFrame)
overridevirtual

Implements Frame.

local onEnter ( local  nextFrame)
overridevirtual

Implements Frame.

void setPosition ( const cocos2d::Point position)
inline
var setPosition ( var  position)
inline
local setPosition ( local  position)
inline
void setX ( float  x)
inline
var setX ( var  x)
inline
local setX ( local  x)
inline
void setY ( float  y)
inline
var setY ( var  y)
inline
local setY ( local  y)
inline

Member Data Documentation

float _betweenX
protected
var _betweenX
protected
local _betweenX
protected
float _betweenY
protected
var _betweenY
protected
local _betweenY
protected
cocos2d::Point _position
protected
var _position
protected
local _position
protected

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