TMXObjectGroup represents the TMX object group. More...
Inherits Ref.
Public Member Functions | |
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... | |
ValueMap | getObject (const std::string &objectName) const |
Return the dictionary for the specific object name. More... | |
var | getObject ( var objectName) |
Return the dictionary for the specific object name. More... | |
local | getObject ( local objectName) |
Return the dictionary for the specific object name. More... | |
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... | |
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... | |
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... | |
local | 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... | |
local | getReferenceCount () |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. | |
Additional Inherited Members | |
Public Attributes inherited from Ref | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
local | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
local | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
local | _scriptObject |
scriptObject, support for swift | |
bool | _rooted |
When true, it means that the object was already rooted. | |
local | _rooted |
When true, it means that the object was already rooted. | |
bool | _scriptOwned |
The life of the object is scrolled by the scripting engine. More... | |
local | _scriptOwned |
The life of the object is scrolled by the scripting engine. More... | |
TMXObjectGroup represents the TMX object group.
|
inline |
Get the group name.
The group name.
|
inline |
Get the group name.
The group name.
|
inline |
Get the group name.
The group name.
|
inline |
Set the group name.
A string,it is used to set the group name.
|
inline |
Set the group name.
A string,it is used to set the group name.
|
inline |
Set the group name.
A string,it is used to set the group name.
Value getProperty | ( | const std::string & | propertyName | ) | const |
Return the value for the specific property name.
The specific property name. Return the value for the specific property name.
local getProperty | ( | local | propertyName | ) |
Return the value for the specific property name.
The specific property name. Return the value for the specific property 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.
Return the dictionary for the specific object 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.
Return the dictionary for the specific object 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.
Return the dictionary for the specific object name.
|
inline |
Gets the offset position of child objects.
The offset position of child objects.
|
inline |
Gets the offset position of child objects.
The offset position of child objects.
|
inline |
Gets the offset position of child objects.
The offset position of child objects.
|
inline |
Sets the offset position of child objects.
The offset position of child objects.
|
inline |
Sets the offset position of child objects.
The offset position of child objects.
|
inline |
Sets the offset position of child objects.
The offset position of child objects.
|
inline |
Gets the list of properties stored in a dictionary.
The list of properties stored in a dictionary.
|
inline |
Gets the list of properties stored in a dictionary.
The list of properties stored in a dictionary.
|
inline |
Gets the list of properties stored in a dictionary.
The list of properties stored in a dictionary.
|
inline |
Sets the list of properties.
The list of properties.
|
inline |
Sets the list of properties.
The list of properties.
|
inline |
Sets the list of properties.
The list of properties.
|
inline |
Gets the array of the objects.
The array of the objects.
|
inline |
Gets the array of the objects.
The array of the objects.
|
inline |
Gets the array of the objects.
The array of the objects.
|
inline |
Sets the array of the objects.
The array of the objects.
|
inline |
Sets the array of the objects.
The array of the objects.
|
inline |
Sets the array of the objects.
The array of the objects.