#include <CCComAttribute.h>
Public Member Functions | |
| virtual bool | init () |
| void | setInt (const char *key, int value) |
| void | setFloat (const char *key, float value) |
| void | setBool (const char *key, bool value) |
| var | setBool ( var key, var value) |
| void | setCString (const char *key, const char *value) |
| var | setCString ( var key, var value) |
| int | getInt (const char *key) const |
| float | getFloat (const char *key) const |
| var | getFloat ( var key) |
| bool | getBool (const char *key) const |
| var | getBool ( var key) |
| const char * | getCString (const char *key) const |
| cs::CSJsonDictionary * | getDict () |
Public Member Functions inherited from CCComponent | |
| virtual | ~CCComponent (void) |
| virtual void | onEnter () |
| virtual void | onExit () |
| virtual void | update (float delta) |
| var | update ( var delta) |
| local | update ( local delta) |
| virtual void | serialize (void *r) |
| local | serialize ( local r) |
| virtual bool | isEnabled () const |
| var | isEnabled () |
| local | isEnabled () |
| virtual void | setEnabled (bool b) |
| local | setEnabled ( local b) |
| virtual CCNode * | getNode () |
| virtual void | setNode (CCNode *pNode) |
| local | setNode ( local pNode) |
| 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 CCComAttribute * | create (void) |
Static Public Member Functions inherited from CCComponent | |
| static CCComponent * | create (void) |
| var | create () |
| local | create () |
Protected Member Functions | |
| CCComAttribute (void) | |
| virtual | ~CCComAttribute (void) |
Protected Member Functions inherited from CCComponent | |
| CCComponent (void) | |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
Protected Attributes inherited from CCComponent | |
| CCNode * | m_pOwner |
| std::string | m_strName |
| var | m_strName |
| local | m_strName |
| bool | m_bEnabled |
|
protected |
|
protected |
|
protectedvirtual |
|
static |
|
static |
| bool getBool | ( | const char * | key) | const |
| var getBool | ( | var | key) |
| const char* getCString | ( | const char * | key) | const |
| var getCString | ( | var | key) |
| cs::CSJsonDictionary* getDict | ( | ) |
| float getFloat | ( | const char * | key) | const |
| var getFloat | ( | var | key) |
| int getInt | ( | const char * | key) | const |
| var getInt | ( | var | key) |
|
virtual |
Reimplemented from CCComponent.
|
virtual |
Reimplemented from CCComponent.
| void setBool | ( | const char * | key, |
| bool | value | ||
| ) |
| var setBool | ( | var | key, |
| var | value | ||
| ) |
| void setCString | ( | const char * | key, |
| const char * | value | ||
| ) |
| var setCString | ( | var | key, |
| var | value | ||
| ) |
| void setFloat | ( | const char * | key, |
| float | value | ||
| ) |
| var setFloat | ( | var | key, |
| var | value | ||
| ) |
| void setInt | ( | const char * | key, |
| int | value | ||
| ) |
| var setInt | ( | var | key, |
| var | value | ||
| ) |