TMXObjectGroup represents the TMX object group. More...
#include <CCTMXObjectGroup.h>
Public Member Functions | |
| TMXObjectGroup () | |
| virtual | ~TMXObjectGroup () |
| const char * | getGroupName () |
| void | setGroupName (const char *groupName) |
| String * | getProperty (const char *propertyName) const |
| return the value for the specific property name More... | |
| CC_DEPRECATED_ATTRIBUTE String * | propertyNamed (const char *propertyName) const |
| local | propertyNamed ( local propertyName) |
| Dictionary * | getObject (const char *objectName) const |
| return the dictionary for the specific object name. More... | |
| local | getObject ( local objectName) |
| return the dictionary for the specific object name. More... | |
| CC_DEPRECATED_ATTRIBUTE Dictionary * | objectNamed (const char *objectName) const |
| local | objectNamed ( local objectName) |
| const Point & | getPositionOffset () const |
| Gets the offset position of child objects. More... | |
| local | getPositionOffset () |
| Gets the offset position of child objects. More... | |
| void | setPositionOffset (const Point &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... | |
| Dictionary * | getProperties () const |
| Gets the list of properties stored in a dictionary. More... | |
| void | setProperties (Dictionary *properties) |
| Sets the list of properties. More... | |
| Array * | getObjects () const |
| Gets the array of the objects. More... | |
| void | setObjects (Array *objects) |
| Sets the array of the objects. More... | |
Public Member Functions inherited from Object | |
| Object () | |
| Constructor. More... | |
| virtual | ~Object () |
| void | release () |
| Release the ownership immediately. More... | |
| void | retain () |
| Retains the ownership. More... | |
| Object * | autorelease () |
| Release the ownership sometime soon automatically. More... | |
| bool | isSingleReference () const |
| Returns a boolean value that indicates whether there is only one reference to the object. More... | |
| unsigned int | retainCount () const |
| Returns the object's current reference count. More... | |
| virtual bool | isEqual (const Object *object) |
| Returns a boolean value that indicates whether this object and a given object are equal. More... | |
| virtual void | acceptVisitor (DataVisitor &visitor) |
| virtual void | update (float dt) |
Protected Attributes | |
| std::string | _groupName |
| name of the group More... | |
| Point | _positionOffset |
| offset position of child objects More... | |
| Dictionary * | _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... | |
| Array * | _objects |
| array of the objects More... | |
Protected Attributes inherited from Object | |
| unsigned int | _reference |
| count of references More... | |
| var | _reference |
| count of references More... | |
| local | _reference |
| count of references More... | |
| unsigned int | _autoReleaseCount |
| count of autorelease More... | |
| var | _autoReleaseCount |
| count of autorelease More... | |
| local | _autoReleaseCount |
| count of autorelease More... | |
Additional Inherited Members | |
Public Attributes inherited from Object | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID More... | |
| int | _luaID |
| Lua reference id. More... | |
TMXObjectGroup represents the TMX object group.
| TMXObjectGroup | ( | ) |
| var ctor | ( | ) |
| local TMXObjectGroup | ( | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
| Dictionary* getObject | ( | const char * | 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 |
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.
| String* getProperty | ( | const char * | propertyName) | const |
return the value for the specific property name
| var getProperty | ( | var | propertyName) |
return the value for the specific property name
| local getProperty | ( | local | propertyName) |
return the value for the specific property name
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the array of the objects.
|
inline |
Sets the array of the objects.
|
inline |
Sets the array of the objects.
|
inline |
Sets the offset position of child objects.
|
inline |
Sets the offset position of child objects.
|
inline |
Sets the offset position of child objects.
|
inline |
Sets the list of properties.
|
inline |
Sets the list of properties.
|
inline |
Sets 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