TestScene.h 484 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // TestScene.h
  3. // demo
  4. //
  5. // Created by Red_mini on 2024/10/11.
  6. //
  7. #ifndef TestScene_h
  8. #define TestScene_h
  9. #include "cocos2d.h"
  10. #include "RUReboltLayer.h"
  11. class TestScene : public cocos2d::Layer {
  12. public:
  13. static cocos2d::Scene* createScene();
  14. virtual bool init();
  15. CREATE_FUNC(TestScene);
  16. private:
  17. void createBoard();
  18. void onNotifyDevelopment(const redutils::ReboltNotifyData& data);
  19. void update(float dt);
  20. };
  21. #endif /* TestScene_h */