namespace cocos2d { typedef std::map StringToIntegerDictionary; typedef std::pair StringToIntegerPair; struct sImageTGA; class CCTileMapAtlas : public CCAtlasNode { /** TileMap info */ struct sImageTGA* getTGAInfo(); void setTGAInfo(struct sImageTGA* val); CCTileMapAtlas(); ~CCTileMapAtlas(); static CCTileMapAtlas * tileMapAtlasWithTileFile(const char *tile, const char *mapFile, int tileWidth, int tileHeight); bool initWithTileFile(const char *tile, const char *mapFile, int tileWidth, int tileHeight); void setTile(ccColor3B tile, ccGridSize position); /** dealloc the map from memory */ void releaseMap(); }; }// namespace cocos2d