diff options
Diffstat (limited to 'gamestate.h')
| -rw-r--r-- | gamestate.h | 13 |
1 files changed, 7 insertions, 6 deletions
| diff --git a/gamestate.h b/gamestate.h index 32e5d07..9b0b52c 100644 --- a/gamestate.h +++ b/gamestate.h | |||
| @@ -1,13 +1,14 @@ | |||
| 1 | #include <SDL.h> | ||
| 2 | |||
| 3 | #include "state.h" | ||
| 4 | |||
| 5 | #ifndef GAMESTATE_H | 1 | #ifndef GAMESTATE_H |
| 6 | #define GAMESTATE_H | 2 | #define GAMESTATE_H |
| 7 | 3 | ||
| 4 | #include <memory> | ||
| 5 | |||
| 6 | #include "mazeoflife.h" | ||
| 7 | #include "state.h" | ||
| 8 | |||
| 8 | class GameState : public State { | 9 | class GameState : public State { |
| 9 | public: | 10 | public: |
| 10 | State* operator()(SDL_Window* window, SDL_Renderer* renderer); | 11 | std::unique_ptr<State> operator()(Game& game); |
| 11 | }; | 12 | }; |
| 12 | 13 | ||
| 13 | #endif \ No newline at end of file | 14 | #endif |
