#include <CCComponent.h>
Public Member Functions | |
virtual | ~CCComponent (void) |
virtual bool | init () |
virtual void | onEnter () |
virtual void | onExit () |
virtual void | update (float delta) |
var | update ( var 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) |
local | setEnabled ( local b) |
const char * | getName () const |
var | getName () |
local | getName () |
void | setName (const char *pName) |
void | setOwner (CCNode *pOwner) |
CCNode * | getOwner () const |
Public Member Functions inherited from CCObject | |
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) |
Public Member Functions inherited from CCCopying | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static CCComponent * | create (void) |
var | create () |
local | create () |
Protected Member Functions | |
CCComponent (void) |
Protected Attributes | |
CCNode * | m_pOwner |
std::string | m_strName |
var | m_strName |
local | m_strName |
bool | m_bEnabled |
Protected Attributes inherited from CCObject | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
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 |