Class Index | File Index

Classes


Class cc.TMXLayerInfo


Extends cc.Class.

Defined in: CCTMXXMLParser.js.

Class Summary
Constructor Attributes Constructor Name and Description
 

cc.TMXLayerInfo contains the information about the layers like:
- Layer name
- Layer size
- Layer opacity at creation time (it can be modified at runtime)
- Whether the layer is visible (if it's not visible, then the CocosNode won't be created)

This information is obtained from the TMX file.

Method Summary
Method Attributes Method Name and Description
 
ctor()
 
 
Class Detail
cc.TMXLayerInfo()

cc.TMXLayerInfo contains the information about the layers like:
- Layer name
- Layer size
- Layer opacity at creation time (it can be modified at runtime)
- Whether the layer is visible (if it's not visible, then the CocosNode won't be created)

This information is obtained from the TMX file.

Method Detail
ctor()

{Array} getProperties()
Returns:
{Array}

setProperties(Var)
Parameters:
{object} Var

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