SpriteData.hpp 471 B

1234567891011121314151617181920212223242526
  1. //
  2. // SpriteData.hpp
  3. // auto_fill_jewel_tight
  4. //
  5. // Created by Red on 2024/11/13.
  6. //
  7. #ifndef SpriteData_hpp
  8. #define SpriteData_hpp
  9. #include <stdio.h>
  10. #include <string>
  11. using std::string;
  12. struct SpriteData {
  13. SpriteData():_x(0),_y(0),_scaleX(0),_scaleY(0),_rotate(0),_csx(0),_csy(0){}
  14. int _x,_y;
  15. string _name;
  16. int _typeIndex ;
  17. float _scaleX,_scaleY ;
  18. float _rotate;
  19. float _csx,_csy;//contour scale x,y
  20. };
  21. #endif /* SpriteData_hpp */