TestScene.h 595 B

12345678910111213141516171819202122232425262728293031323334
  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. #include "IAPCtlShop.hpp"
  12. class TestScene : public cocos2d::Layer {
  13. public:
  14. static cocos2d::Scene* createScene();
  15. virtual bool init();
  16. CREATE_FUNC(TestScene);
  17. private:
  18. void createBoard();
  19. void onNotifyDevelopment(const redutils::ReboltNotifyData& data);
  20. void update(float dt);
  21. iap::IAPCtlShop* _iapShop;
  22. std::vector<std::string> _placementIDs;
  23. };
  24. #endif /* TestScene_h */