diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-13 07:11:56 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-13 15:34:50 -0500 |
| commit | 3c505f6f7fa5d4fab7c2a2864a45c8f5d0b4d329 (patch) | |
| tree | 0c46beb4097378189b0bb9ac3738b869b29b24b5 /src/menu_system.h | |
| parent | fb26b9b9c89ff242576d68de5a0bef189087ad15 (diff) | |
| download | tanetane-3c505f6f7fa5d4fab7c2a2864a45c8f5d0b4d329.tar.gz tanetane-3c505f6f7fa5d4fab7c2a2864a45c8f5d0b4d329.tar.bz2 tanetane-3c505f6f7fa5d4fab7c2a2864a45c8f5d0b4d329.zip | |
Created MenuSystem
It currently has nothing in it. #7
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 */ | ||
