#include <CCComRender.h>
Public Member Functions | |
virtual void | onEnter () |
virtual void | onExit () |
cocos2d::Node * | getNode () |
![]() | |
virtual | ~Component (void) |
virtual bool | init () |
virtual void | update (float delta) |
virtual void | serialize (void *r) |
local | serialize ( local r) |
virtual bool | isEnabled () const |
local | isEnabled () |
virtual void | setEnabled (bool b) |
local | setEnabled ( local b) |
const char * | getName () const |
void | setName (const char *pName) |
void | setOwner (Node *pOwner) |
Node * | getOwner () const |
![]() | |
Object () | |
Constructor. More... | |
virtual | ~Object () |
void | release () |
Release the ownership immediately. More... | |
void | retain () |
Retains the ownership. More... | |
Object * | autorelease () |
Release the ownership sometime soon automatically. More... | |
bool | isSingleReference () const |
Returns a boolean value that indicates whether there is only one reference to the object. More... | |
unsigned int | retainCount () const |
Returns the object's current reference count. More... | |
virtual bool | isEqual (const Object *object) |
Returns a boolean value that indicates whether this object and a given object are equal. More... | |
virtual void | acceptVisitor (DataVisitor &visitor) |
Static Public Member Functions | |
static ComRender * | create (cocos2d::Node *pNode, const char *comName) |
var | create ( var pNode, var comName) |
local | create ( local pNode, local comName) |
![]() | |
static Component * | create (void) |
var | create () |
local | create () |
Protected Member Functions | |
ComRender (void) | |
ComRender (cocos2d::Node *node, const char *comName) | |
virtual | ~ComRender (void) |
![]() | |
Component (void) |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID More... | |
int | _luaID |
Lua reference id. More... | |
![]() | |
Node * | _owner |
std::string | _name |
var | _name |
local | _name |
bool | _enabled |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
static |
|
static |
|
static |
cocos2d::Node* getNode | ( | ) |
var getNode | ( | ) |
local getNode | ( | ) |
|
virtual |
Reimplemented from Component.
|
virtual |
Reimplemented from Component.