CCTMXObjectGroup represents the TMX object group. More...
#include <CCTMXObjectGroup.h>
Public Member Functions | |
virtual const CCPoint & | getPositionOffset (void) |
getPositionOffset More... | |
local | getPositionOffset () |
getPositionOffset More... | |
virtual void | setPositionOffset (const CCPoint &var) |
set# PositionOffset More... | |
virtual CCDictionary * | getProperties (void) |
getProperties More... | |
virtual void | setProperties (CCDictionary *var) |
setProperties More... | |
virtual CCArray * | getObjects (void) |
getObjects More... | |
local | getObjects () |
getObjects More... | |
virtual void | setObjects (CCArray *var) |
setObjects More... | |
CCTMXObjectGroup () | |
virtual | ~CCTMXObjectGroup () |
const char * | getGroupName () |
void | setGroupName (const char *groupName) |
CCString * | propertyNamed (const char *propertyName) |
return the value for the specific property name More... | |
var | propertyNamed ( var propertyName) |
return the value for the specific property name More... | |
local | propertyNamed ( local propertyName) |
return the value for the specific property name More... | |
CCDictionary * | objectNamed (const char *objectName) |
return the dictionary for the specific object name. More... | |
local | objectNamed ( local objectName) |
return the dictionary for the specific object name. More... | |
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) |
virtual void | update (float dt) |
Public Member Functions inherited from CCCopying | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Protected Attributes | |
CCPoint | m_tPositionOffset |
offset position of child objects More... | |
var | m_tPositionOffset |
offset position of child objects More... | |
local | m_tPositionOffset |
offset position of child objects More... | |
CCDictionary * | m_pProperties |
list of properties stored in a dictionary More... | |
var | m_pProperties |
list of properties stored in a dictionary More... | |
local | 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 |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
unsigned int | m_uID |
int | m_nLuaID |
CCTMXObjectGroup represents the TMX object group.
CCTMXObjectGroup | ( | ) |
var ctor | ( | ) |
local CCTMXObjectGroup | ( | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
virtual |
getObjects
|
virtual |
getObjects
|
virtual |
getObjects
|
virtual |
getPositionOffset
|
virtual |
getPositionOffset
|
virtual |
getPositionOffset
|
virtual |
getProperties
|
virtual |
getProperties
|
virtual |
getProperties
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.
var objectNamed | ( | var | objectName) |
return the dictionary for the specific object name.
It will return the 1st object found on the array for the given name.
local objectNamed | ( | local | 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
var propertyNamed | ( | var | propertyName) |
return the value for the specific property name
local propertyNamed | ( | local | propertyName) |
return the value for the specific property name
|
inline |
|
inline |
|
inline |
|
virtual |
setObjects
|
virtual |
setObjects
|
virtual |
setObjects
|
virtual |
set# PositionOffset
|
virtual |
set# PositionOffset
|
virtual |
set# PositionOffset
|
virtual |
setProperties
|
virtual |
setProperties
|
virtual |
setProperties
|
protected |
array of the objects
|
protected |
array of the objects
|
protected |
array of the objects
|
protected |
list of properties stored in a dictionary
|
protected |
list of properties stored in a dictionary
|
protected |
list of properties stored in a dictionary
|
protected |
name of the group
|
protected |
name of the group
|
protected |
name of the group
|
protected |
offset position of child objects
|
protected |
offset position of child objects
|
protected |
offset position of child objects