TestScene.h 382 B

1234567891011121314151617181920212223242526
  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. class TestScene : public cocos2d::Layer {
  11. public:
  12. static cocos2d::Scene* createScene();
  13. virtual bool init();
  14. CREATE_FUNC(TestScene);
  15. private:
  16. void createBoard();
  17. void update(float dt);
  18. };
  19. #endif /* TestScene_h */