Class Index | File Index

Classes


Class cc.TMXObjectGroup


Extends cc.Class.

Defined in: CCTMXObjectGroup.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.TMXObjectGroup represents the TMX object group.
Method Summary
Method Attributes Method Name and Description
 
ctor()
Constructor
 
 
 
Offset position of child objects
 
List of properties stored in a dictionary
 
objectNamed(objectName)

Return the dictionary for the specific object name.

 
propertyNamed(propertyName)
Return the value for the specific property name
 
setGroupName(groupName)
 
setObjects(objects)
 
 
Class Detail
cc.TMXObjectGroup()
cc.TMXObjectGroup represents the TMX object group.
Method Detail
ctor()
Constructor

{String} getGroupName()
Returns:
{String}

{Array} getObjects()
Returns:
{Array}

{cc.Point} getPositionOffset()
Offset position of child objects
Returns:
{cc.Point}

{Array} getProperties()
List of properties stored in a dictionary
Returns:
{Array}

{object|Null} objectNamed(objectName)

Return the dictionary for the specific object name.
It will return the 1st object found on the array for the given name.

Parameters:
{String} objectName
Returns:
{object|Null}

{object} propertyNamed(propertyName)
Return the value for the specific property name
Parameters:
{String} propertyName
Returns:
{object}

setGroupName(groupName)
Parameters:
{String} groupName

setObjects(objects)
Parameters:
{object} objects

setPositionOffset(Var)
Parameters:
{cc.Point} Var

setProperties(Var)
Parameters:
{object} Var

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:54 GMT-0800 (PST)