diff options
Diffstat (limited to 'src/menu_system.h')
-rw-r--r-- | src/menu_system.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/menu_system.h b/src/menu_system.h new file mode 100644 index 0000000..46963b2 --- /dev/null +++ b/src/menu_system.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef MENU_SYSTEM_H_205861EC | ||
2 | #define MENU_SYSTEM_H_205861EC | ||
3 | |||
4 | #include "system.h" | ||
5 | |||
6 | class Game; | ||
7 | |||
8 | class MenuSystem : public System { | ||
9 | public: | ||
10 | |||
11 | static constexpr SystemKey Key = SystemKey::Menu; | ||
12 | |||
13 | explicit MenuSystem(Game& game) : game_(game) {} | ||
14 | |||
15 | private: | ||
16 | |||
17 | Game& game_; | ||
18 | }; | ||
19 | |||
20 | #endif /* end of include guard: MENU_SYSTEM_H_205861EC */ | ||