#include <CCFrame.h>
Public Member Functions | |
TextureFrame () | |
virtual void | setNode (cocos2d::Node *node) |
virtual void | onEnter (Frame *nextFrame) override |
virtual Frame * | clone () override |
void | setTextureName (std::string textureName) |
std::string | getTextureName () 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 Timeline * | getTimeline () const |
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 | apply (float percent) |
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... | |
local | getReferenceCount () |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Static Public Member Functions | |
static TextureFrame * | create () |
Protected Attributes | |
cocos2d::Sprite * | _sprite |
std::string | _textureName |
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... | |
TextureFrame | ( | ) |
|
static |
|
inline |
|
virtual |
Reimplemented from Frame.
|
inline |
|
protected |
|
protected |