Class CCTMXTilesetInfo

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

CCTMXTilesetInfo contains the information about the tilesets like:

  • Tileset name
  • Tileset spacing
  • Tileset margin
  • size of the tiles
  • Image used for the tiles
  • Image size This information is obtained from the TMX file.
Examples0
Public static methods0
Public member functions1
cocos2d::CCRectrectForGID(
uintgid
)
No description provided
Fields7
gd::stringm_sName
;
No description provided
uintm_uFirstGid
;
No description provided
cocos2d::CCSizem_tTileSize
;
No description provided
uintm_uSpacing
;
No description provided
uintm_uMargin
;
No description provided
gd::stringm_sSourceImage
;

//! filename containing the tiles (should be spritesheet / texture atlas)

cocos2d::CCSizem_tImageSize
;

//! size in pixels of the image

Protected member functions0
Protected fields0