TMXObjectGroup represents the TMX object group. More...
#include <CCTMXObjectGroup.h>
Public Member Functions | |
TMXObjectGroup () | |
ctor () | |
TMXObjectGroup () | |
virtual | ~TMXObjectGroup () |
const std::string & | getGroupName () const |
Get the group name. More... | |
var | getGroupName () |
Get the group name. More... | |
local | getGroupName () |
Get the group name. More... | |
void | setGroupName (const std::string &groupName) |
Set the group name. More... | |
var | setGroupName ( var groupName) |
Set the group name. More... | |
local | setGroupName ( local groupName) |
Set the group name. More... | |
Value | getProperty (const std::string &propertyName) const |
Return the value for the specific property name. More... | |
Value | propertyNamed (const std::string &propertyName) const |
ValueMap | getObject (const std::string &objectName) const |
Return the dictionary for the specific object name. More... | |
local | getObject ( local objectName) |
Return the dictionary for the specific object name. More... | |
ValueMap | objectNamed (const std::string &objectName) const |
const Vec2 & | getPositionOffset () const |
Gets the offset position of child objects. More... | |
void | setPositionOffset (const Vec2 &offset) |
Sets the offset position of child objects. More... | |
var | setPositionOffset ( var offset) |
Sets the offset position of child objects. More... | |
local | setPositionOffset ( local offset) |
Sets the offset position of child objects. More... | |
const ValueMap & | getProperties () const |
Gets the list of properties stored in a dictionary. More... | |
var | getProperties () |
Gets the list of properties stored in a dictionary. More... | |
local | getProperties () |
Gets the list of properties stored in a dictionary. More... | |
ValueMap & | getProperties () |
local | getProperties () |
void | setProperties (const ValueMap &properties) |
Sets the list of properties. More... | |
var | setProperties ( var properties) |
Sets the list of properties. More... | |
local | setProperties ( local properties) |
Sets the list of properties. More... | |
const ValueVector & | getObjects () const |
Gets the array of the objects. More... | |
local | getObjects () |
Gets the array of the objects. More... | |
ValueVector & | getObjects () |
local | getObjects () |
void | setObjects (const ValueVector &objects) |
Sets the array of the objects. More... | |
var | setObjects ( var objects) |
Sets the array of the objects. More... | |
local | setObjects ( local objects) |
Sets the array of the objects. More... | |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Protected Attributes | |
std::string | _groupName |
name of the group More... | |
local | _groupName |
name of the group More... | |
Vec2 | _positionOffset |
offset position of child objects More... | |
var | _positionOffset |
offset position of child objects More... | |
local | _positionOffset |
offset position of child objects More... | |
ValueMap | _properties |
list of properties stored in a dictionary More... | |
var | _properties |
list of properties stored in a dictionary More... | |
local | _properties |
list of properties stored in a dictionary More... | |
ValueVector | _objects |
array of the objects More... | |
var | _objects |
array of the objects More... | |
local | _objects |
array of the objects More... | |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
TMXObjectGroup represents the TMX object group.
TMXObjectGroup | ( | ) |
var ctor | ( | ) |
local TMXObjectGroup | ( | ) |
|
virtual |
|
inline |
Get the group name.
|
inline |
Get the group name.
|
inline |
Get the group name.
ValueMap getObject | ( | const std::string & | objectName | ) | const |
Return the dictionary for the specific object name.
It will return the 1st object found on the array for the given name.
var getObject | ( | 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 getObject | ( | local | objectName | ) |
Return the dictionary for the specific object name.
It will return the 1st object found on the array for the given name.
|
inline |
Gets the array of the objects.
|
inline |
Gets the array of the objects.
|
inline |
Gets the array of the objects.
|
inline |
|
inline |
|
inline |
|
inline |
Gets the offset position of child objects.
|
inline |
Gets the offset position of child objects.
|
inline |
Gets the offset position of child objects.
|
inline |
Gets the list of properties stored in a dictionary.
|
inline |
Gets the list of properties stored in a dictionary.
|
inline |
Gets the list of properties stored in a dictionary.
|
inline |
|
inline |
|
inline |
Value getProperty | ( | const std::string & | propertyName | ) | const |
Return the value for the specific property name.
propertyName | The specific property name. |
var getProperty | ( | var | propertyName | ) |
Return the value for the specific property name.
propertyName | The specific property name. |
local getProperty | ( | local | propertyName | ) |
Return the value for the specific property name.
propertyName | The specific property name. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set the group name.
groupname | A string,it is used to set the group name. |
|
inline |
Set the group name.
groupname | A string,it is used to set the group name. |
|
inline |
Set the group name.
groupname | A string,it is used to set the group name. |
|
inline |
Sets the array of the objects.
objects | The array of the objects. |
|
inline |
Sets the array of the objects.
objects | The array of the objects. |
|
inline |
Sets the array of the objects.
objects | The array of the objects. |
|
inline |
Sets the offset position of child objects.
offset | The offset position of child objects. |
|
inline |
Sets the offset position of child objects.
offset | The offset position of child objects. |
|
inline |
Sets the offset position of child objects.
offset | The offset position of child objects. |
|
inline |
Sets the list of properties.
properties | The list of properties. |
|
inline |
Sets the list of properties.
properties | The list of properties. |
|
inline |
Sets the list of properties.
properties | The list of properties. |
|
protected |
name of the group
|
protected |
name of the group
|
protected |
name of the group
|
protected |
array of the objects
|
protected |
array of the objects
|
protected |
array of the objects
|
protected |
offset position of child objects
|
protected |
offset position of child objects
|
protected |
offset position of child 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