cocos2d-x
3.3
|
#include <CCComRender.h>
Public Member Functions | |
virtual void | onEnter () override |
NA NA More... | |
virtual void | onExit () override |
NA NA More... | |
virtual bool | serialize (void *r) override |
virtual cocos2d::Node * | getNode () |
virtual void | setNode (cocos2d::Node *node) |
![]() | |
virtual | ~Component (void) |
NA NA More... | |
virtual bool | init () |
virtual void | update (float delta) |
virtual bool | isEnabled () const |
virtual void | setEnabled (bool b) |
const std::string & | getName () const |
void | setName (const std::string &name) |
void | setOwner (Node *pOwner) |
Node * | getOwner () const |
![]() | |
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 () |
NA NA More... | |
Static Public Member Functions | |
static ComRender * | create (void) |
static ComRender * | create (cocos2d::Node *node, const char *comName) |
![]() | |
static Component * | create (void) |
Protected Member Functions | |
ComRender (void) | |
ctor More... | |
ComRender (cocos2d::Node *node, const char *comName) | |
virtual | ~ComRender (void) |
NA NA More... | |
![]() | |
Ref () | |
Constructor. More... | |
Additional Inherited Members | |
![]() | |
Node * | _owner |
std::string | _name |
bool | _enabled |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
|
protected |
ctor
|
protected |
|
protectedvirtual |
NA NA
|
static |
|
static |
|
virtual |
|
overridevirtual |
NA NA
Reimplemented from Component.
|
overridevirtual |
NA NA
Reimplemented from Component.
|
overridevirtual |
Reimplemented from Component.
|
virtual |