// // AniSettingsLayer.h // HalloweenSpaceInvaders // // Created by Katarzyna Kalinowska-Górska on 06/10/2019. // #ifndef AniSettingsLayer_h #define AniSettingsLayer_h #include "cocos2d.h" //#include "AniSimpleLevelPickerView.h" #include "AniLevelPickerView.h" #include "AniParentalGateShowInterface.h" class AniSettingsLayer : public cocos2d::LayerColor, public AniParentalGateShowInterface { public: static AniSettingsLayer* create(float width, float height, std::function onLevelPickedCallback, std::function onTutorialResetPickedCallback); void prepareForShowing(); protected: AniLevelPickerView* _AniLevelPickerView; std::function _onLevelPicked; std::function _onTutorialReset; bool init(float width, float height, std::function onLevelPickedCallback, std::function onTutorialResetPickedCallback); virtual void aboutMenuButtonTapped(cocos2d::Ref* pSender); virtual void privacyPolicyMenuButtonTapped(cocos2d::Ref* pSender); }; #endif /* AniSettingsLayer_h */