12345678910111213141516171819202122232425262728293031 |
- //
- // CCBlockTouchLayer.h
- // cocos2d_libs
- //
- // Created by zhuge on 2023/3/16.
- //
- #ifndef CCBlockTouchLayer_h
- #define CCBlockTouchLayer_h
- #include "2d/CCLayer.h"
- NS_CC_BEGIN
- class CCBlockTouchLayer: public cocos2d::Layer {
- public:
- CREATE_FUNC(CCBlockTouchLayer);
- CCBlockTouchLayer();
- ~CCBlockTouchLayer();
-
- bool init() override;
-
- private:
- void _registTouch();
-
- bool hasVisibleParents();
- };
- NS_CC_END
- #endif /* CCBlockTouchLayer_h */
|