|
cocos2d-x
2.2.3-gd2.113-rev1ec524e
|
CCTMXObjectGroup represents the TMX object group. More...
#include <CCTMXObjectGroup.h>
Public Member Functions | |
| virtual const CCPoint & | getPositionOffset (void) |
| virtual void | setPositionOffset (const CCPoint &var) |
| virtual CCDictionary * | getProperties (void) |
| virtual void | setProperties (CCDictionary *var) |
| virtual CCArray * | getObjects (void) |
| virtual void | setObjects (CCArray *var) |
| CCTMXObjectGroup () | |
| ctor More... | |
| virtual | ~CCTMXObjectGroup () |
| NA NA. More... | |
| const char * | getGroupName () |
| void | setGroupName (const char *groupName) |
| CCString * | propertyNamed (const char *propertyName) |
| return the value for the specific property name More... | |
| CCDictionary * | objectNamed (const char *objectName) |
| return the dictionary for the specific object name. More... | |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| NA. More... | |
| 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 void | update (float dt) |
| CCObject (const CCObject &) | |
| CCObject & | operator= (const CCObject &) |
| virtual void | encodeWithCoder (DS_Dictionary *) |
| virtual bool | canEncode () |
| CCObjectType | getObjType () const |
| virtual int | getTag () const |
| virtual void | setTag (int nTag) |
| void | setObjType (CCObjectType) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Protected Attributes | |
| CCPoint | m_tPositionOffset |
| offset position of child objects More... | |
| CCDictionary * | m_pProperties |
| list of properties stored in a dictionary More... | |
| CCArray * | m_pObjects |
| array of the objects More... | |
| std::string | m_sGroupName |
| name of the group More... | |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
| int | m_nTag |
| int | m_eObjType |
| unsigned int | m_uObjectIdxInArray |
Additional Inherited Members | |
Static Public Member Functions inherited from CCObject | |
| static CCObject * | createWithCoder (DS_Dictionary *) |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
CCTMXObjectGroup represents the TMX object group.
| CCTMXObjectGroup | ( | ) |
ctor
|
virtual |
NA NA.
|
inline |
|
virtual |
|
virtual |
|
virtual |
| CCDictionary * objectNamed | ( | const char * | objectName | ) |
return the dictionary for the specific object name.
It will return the 1st object found on the array for the given name.
| CCString * propertyNamed | ( | const char * | propertyName | ) |
return the value for the specific property name
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
protected |
array of the objects
|
protected |
list of properties stored in a dictionary
|
protected |
name of the group
|
protected |
offset position of child objects