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

#include <CCFrame.h>

Inheritance diagram for AnchorPointFrame:
Frame Ref

Public Member Functions

 AnchorPointFrame ()
 
virtual void onEnter (Frame *nextFrame, int currentFrameIndex) override
 
virtual Frameclone () override
 
void setAnchorPoint (const cocos2d::Point &point)
 
cocos2d::Point getAnchorPoint () const
 
- Public Member Functions inherited from Frame
virtual void setFrameIndex (unsigned int frameIndex)
 
virtual unsigned int getFrameIndex () const
 
virtual void setTimeline (Timeline *timeline)
 
virtual TimelinegetTimeline () const
 
virtual void setNode (cocos2d::Node *node)
 
virtual cocos2d::NodegetNode () const
 
virtual void setTween (bool tween)
 
virtual bool isTween () const
 
virtual bool isEnterWhenPassed ()
 
virtual void apply (float percent)
 
- 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 ()
 NA NA More...
 

Static Public Member Functions

static AnchorPointFramecreate ()
 

Protected Attributes

cocos2d::Point _anchorPoint
 
- 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...
 

Additional Inherited Members

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

Constructor & Destructor Documentation

Member Function Documentation

virtual Frame* clone ( )
overridevirtual

Implements Frame.

static AnchorPointFrame* create ( )
static
cocos2d::Point getAnchorPoint ( ) const
inline
virtual void onEnter ( Frame nextFrame,
int  currentFrameIndex 
)
overridevirtual

Implements Frame.

void setAnchorPoint ( const cocos2d::Point point)
inline

Member Data Documentation

cocos2d::Point _anchorPoint
protected

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