CCTMXObjectGroup
CCTMXObjectGroup
Cocos2DInheritance: System.Object
Constructors
CCTMXObjectGroup()
CCTMXObjectGroup()()
Fields
m_pObjects(System.Collections.Generic.ListSystem.Collections.Generic.DictionarySystem.String,System.String)
m_pProperties(System.Collections.Generic.DictionarySystem.String,System.String)
m_sGroupName(System.String)
name of the group
m_tPositionOffset(Cocos2D.CCPoint)
Properties
GroupName(System.String)
Objects(System.Collections.Generic.ListSystem.Collections.Generic.DictionarySystem.String,System.String)
array of the objects
PositionOffset(Cocos2D.CCPoint)
offset position of child objects
Properties(System.Collections.Generic.DictionarySystem.String,System.String)
list of properties stored in a dictionary
Methods
ObjectNamed(string)
System.Collections.Generic.DictionarySystem.String,System.String ObjectNamed(string)(System.String objectName)
return the dictionary for the specific object name. It will return the 1st object found on the array for the given name.
Parameters:
objectName
(System.String)Returns:
System.Collections.Generic.DictionarySystem.String,System.String
Example
PropertyNamed(string)
System.String PropertyNamed(string)(System.String propertyName)
return the value for the specific property name
Parameters:
propertyName
(System.String)Returns:
System.String
Example