2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
|
2012-08-28 14:53:52 +08:00
|
|
|
// struct sImageTGA;
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCTileMapAtlas : public CCAtlasNode
|
|
|
|
{
|
2012-08-28 14:53:52 +08:00
|
|
|
// struct sImageTGA* getTGAInfo();
|
|
|
|
// void setTGAInfo(struct sImageTGA* val);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2013-07-08 11:34:31 +08:00
|
|
|
void setTile(Color3B tile, CCPoint position);
|
2012-02-02 14:26:38 +08:00
|
|
|
void releaseMap();
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2013-07-08 11:34:31 +08:00
|
|
|
Color3B tileAt(const CCPoint & pos);
|
2012-08-10 18:14:04 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCTileMapAtlas * create(const char *tile, const char *mapFile, int tileWidth, int tileHeight);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|