diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-02 18:38:53 -0400 | 
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-02 18:38:53 -0400 | 
| commit | a59fcafb2e81f3cb40ff320b106030e8fed4bd66 (patch) | |
| tree | 7e7396a9422814365a5f903a53d7391d3e7b22fd /gamestate.h | |
| parent | 45d6e635c880a7fae8711fba366519dd314d9faf (diff) | |
| download | mazeoflife-a59fcafb2e81f3cb40ff320b106030e8fed4bd66.tar.gz mazeoflife-a59fcafb2e81f3cb40ff320b106030e8fed4bd66.tar.bz2 mazeoflife-a59fcafb2e81f3cb40ff320b106030e8fed4bd66.zip | |
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 | 
