Class cc.TMXLayerInfo
- Defined in: CCTMXXMLParser.js
- Extends cc.Class
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TMXLayerInfo contains the information about the layers like: |
Method Summary
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
-
{Array} getProperties()
- Returns:
- {Array}
-
setProperties(Var)
- Parameters:
- {object} Var