StaticSprite2D.pkg 466 B

123456789101112131415161718
  1. $#include "StaticSprite2D.h"
  2. class StaticSprite2D : public Drawable2D
  3. {
  4. public:
  5. void SetFlip(bool flipX, bool flipY);
  6. void SetFlipX(bool flipX);
  7. void SetFlipY(bool flipY);
  8. void SetColor(const Color& color);
  9. bool GetFlipX() const;
  10. bool GetFlipY() const;
  11. const Color& GetColor() const;
  12. tolua_property__get_set bool flipX;
  13. tolua_property__get_set bool flipY;
  14. tolua_property__get_set Color& color;
  15. };