Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CC_DLL TMXTilesetInfo : public Ref
- {
- public:
- std::string _name;
- int _firstGid;
- Size _tileSize;
- int _spacing;
- int _margin;
- Vec2 _tileOffset;
- //! filename containing the tiles (should be spritesheet / texture atlas)
- std::string _sourceImage;
- //! size in pixels of the image
- Size _imageSize;
- std::string _originSourceImage;
- public:
- /**
- * @js ctor
- */
- TMXTilesetInfo();
- /**
- * @js NA
- * @lua NA
- */
- virtual ~TMXTilesetInfo();
- Rect getRectForGID(uint32_t gid);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement