// // HSettingsLayer.h // HalloweenSpaceInvaders // // Created by Katarzyna Kalinowska-Górska on 06/10/2019. // #ifndef HSettingsLayer_h #define HSettingsLayer_h #include "cocos2d.h" //#include "HSimpleLevelPickerView.h" #include "HLevelPickerView.h" #include "HParentalGateShowInterface.h" class HSettingsLayer : public cocos2d::LayerColor, public HParentalGateShowInterface { public: static HSettingsLayer* create(float width, float height, std::function onLevelPickedCallback); void prepareForShowing(); protected: HLevelPickerView* _HLevelPickerView; std::function _onLevelPicked; bool init(float width, float height, std::function onLevelPickedCallback); virtual void aboutMenuButtonTapped(cocos2d::Ref* pSender); virtual void privacyPolicyMenuButtonTapped(cocos2d::Ref* pSender); }; #endif /* HSettingsLayer_h */