1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef TITLESTATE_H #define TITLESTATE_H class TitleState : public State { public: TitleState(); void input(SDLKey key); void render(SDL_Surface* screen); private: SDL_Surface* background; SDL_Surface* pointer; int selection; }; #endif