#ifndef HS_STATE_H_C824D037 #define HS_STATE_H_C824D037 #include #include "hslist.h" #include "mazeoflife.h" #include "sdl.h" #include "state.h" class DisplayLocalHighscoreListState : public State { public: explicit DisplayLocalHighscoreListState(Game& game); std::unique_ptr operator()(Game& game); private: texture_ptr list_; texture_ptr pointer_; }; class DisplayAndReturnLocalHighscoreListState : public State { public: explicit DisplayAndReturnLocalHighscoreListState(Game& game); std::unique_ptr operator()(Game& game); private: texture_ptr list_; texture_ptr pointer_; int selection_ = 0; }; class EnterHighscoreState : public State { public: EnterHighscoreState(Game& game, int level); std::unique_ptr operator()(Game& game); private: int level_; int lp_ = 0; std::string hsname_; texture_ptr newName_; texture_ptr pointer_; texture_ptr list_; SDL_Rect rntSpace_; int newpos_; }; class NewHighscoreState : public State { public: NewHighscoreState(Game& game, Highscore h); std::unique_ptr operator()(Game& game); private: Highscore h_; texture_ptr pointer_; texture_ptr list_; int selection_ = 0; }; #endif /* end of include guard: HS_STATE_H_C824D037 */