Class CCTMXLayerInfo

#include <Geode/cocos/tilemap_parallax_nodes/CCTMXXMLParser.h>
classCCTMXLayerInfo:publiccocos2d::CCObject{ ... }

CCTMXLayerInfo 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.
Examples0
Public static methods0
Public member functions2
virtualcocos2d::CCDictionary*getProperties()
No description provided
virtualvoidsetProperties()
No description provided
Fields9
gd::stringm_sName
;
No description provided
cocos2d::CCSizem_tLayerSize
;
No description provided
uint*m_pTiles
;
No description provided
boolm_bVisible
;
No description provided
ucharm_cOpacity
;
No description provided
boolm_bOwnTiles
;
No description provided
uintm_uMinGID
;
No description provided
uintm_uMaxGID
;
No description provided
;
No description provided
Protected member functions0
Protected fields1
;
No description provided