123456789101112131415161718192021222324252627 |
- //
- // SpriteData.hpp
- // Test
- //
- // Created by 高慕白 on 2024/12/3.
- //
- #ifndef SpriteData_hpp
- #define SpriteData_hpp
- #include <stdio.h>
- #include <string>
- using std::string;
- struct SpriteData {
- SpriteData():_x(0),_y(0),_scaleX(0),_scaleY(0),_rotate(0),_csx(0),_csy(0){}
-
- int _x,_y;
- string _name;
- int _typeIndex ;
- float _scaleX,_scaleY ;
- float _rotate;
- float _csx,_csy;//contour scale x,y
- };
- #endif /* SpriteData_hpp */
|