CCBlockTouchLayerLoader.h 666 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // CCBlockTouchLayerLoader.h
  3. // redream_runtime
  4. //
  5. // Created by zhuge on 2023/3/17.
  6. //
  7. #ifndef CCBlockTouchLayerLoader_h
  8. #define CCBlockTouchLayerLoader_h
  9. #include "CCLayerLoader.h"
  10. #include "2d/CCBlockTouchLayer.h"
  11. namespace redream {
  12. /* Forward declaration. */
  13. class REDReader;
  14. class CC_DLL BlockTouchLayerLoader : public LayerLoader {
  15. public:
  16. /**
  17. * @js NA
  18. * @lua NA
  19. */
  20. virtual ~BlockTouchLayerLoader() {};
  21. RED_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(BlockTouchLayerLoader, loader);
  22. protected:
  23. RED_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(cocos2d::CCBlockTouchLayer);
  24. };
  25. }
  26. #endif /* CCBlockTouchLayerLoader_h */