diff options
Diffstat (limited to 'titlestate.h')
| -rw-r--r-- | titlestate.h | 14 |
1 files changed, 5 insertions, 9 deletions
| diff --git a/titlestate.h b/titlestate.h index 6519ecf..11d16d7 100644 --- a/titlestate.h +++ b/titlestate.h | |||
| @@ -1,16 +1,12 @@ | |||
| 1 | #include <SDL.h> | ||
| 2 | #include "state.h" | ||
| 3 | |||
| 1 | #ifndef TITLESTATE_H | 4 | #ifndef TITLESTATE_H |
| 2 | #define TITLESTATE_H | 5 | #define TITLESTATE_H |
| 3 | 6 | ||
| 4 | class TitleState : public State { | 7 | class TitleState : public State { |
| 5 | public: | 8 | public: |
| 6 | TitleState(); | 9 | State* operator() (SDL_Renderer* renderer); |
| 7 | void input(SDL_keysym key); | ||
| 8 | void render(SDL_Surface* screen); | ||
| 9 | |||
| 10 | private: | ||
| 11 | SDL_Surface* background; | ||
| 12 | SDL_Surface* pointer; | ||
| 13 | int selection; | ||
| 14 | }; | 10 | }; |
| 15 | 11 | ||
| 16 | #endif | 12 | #endif \ No newline at end of file |
