#include <CCComponent.h>
Public Member Functions | |
virtual | ~CCComponent (void) |
virtual bool | init () |
virtual void | onEnter () |
virtual void | onExit () |
virtual void | update (float delta) |
local | update ( local delta) |
virtual bool | serialize (void *r) |
local | serialize ( local r) |
virtual bool | isEnabled () const |
var | isEnabled () |
local | isEnabled () |
virtual void | setEnabled (bool b) |
var | setEnabled ( var b) |
local | setEnabled ( local b) |
const char * | getName () const |
void | setName (const char *pName) |
void | setOwner (CCNode *pOwner) |
CCNode * | getOwner () const |
![]() | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
![]() | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static CCComponent * | create (void) |
Protected Member Functions | |
CCComponent (void) |
Protected Attributes | |
CCNode * | m_pOwner |
std::string | m_strName |
bool | m_bEnabled |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
|
protected |
|
protected |
|
protected |
|
virtual |
|
static |
|
static |
|
static |
const char* getName | ( | ) | const |
var getName | ( | ) |
local getName | ( | ) |
CCNode* getOwner | ( | ) | const |
var getOwner | ( | ) |
local getOwner | ( | ) |
|
virtual |
Reimplemented in CCComAttribute, CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComAttribute, CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComAttribute, CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComRender, CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComRender, CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComRender, CCComAttribute, and CCComAudio.
|
virtual |
Reimplemented in CCComRender, CCComAttribute, and CCComAudio.
|
virtual |
Reimplemented in CCComRender, CCComAttribute, and CCComAudio.
|
virtual |
Reimplemented in CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComController, and CCComAudio.
|
virtual |
Reimplemented in CCComController, and CCComAudio.
void setName | ( | const char * | pName | ) |
var setName | ( | var | pName | ) |
local setName | ( | local | pName | ) |
void setOwner | ( | CCNode * | pOwner | ) |
var setOwner | ( | var | pOwner | ) |
local setOwner | ( | local | pOwner | ) |
|
virtual |
Reimplemented from CCObject.
Reimplemented in CCComController.
|
virtual |
Reimplemented from CCObject.
Reimplemented in CCComController.
|
virtual |
Reimplemented from CCObject.
Reimplemented in CCComController.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |