diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 20:14:46 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-20 20:14:46 -0400 |
commit | e5fc5bccff29bce3de09209707cf8dbe14a80b35 (patch) | |
tree | 4243d2aa029cfc7d172072cdd0170c5e7ad2f3de /src/game.h | |
parent | e70f905372f30887778d72f5a321be76731b7b82 (diff) | |
download | ether-e5fc5bccff29bce3de09209707cf8dbe14a80b35.tar.gz ether-e5fc5bccff29bce3de09209707cf8dbe14a80b35.tar.bz2 ether-e5fc5bccff29bce3de09209707cf8dbe14a80b35.zip |
control instructions
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h index 914df53..5bdc245 100644 --- a/src/game.h +++ b/src/game.h | |||
@@ -30,6 +30,14 @@ enum class LoseState { | |||
30 | Done | 30 | Done |
31 | }; | 31 | }; |
32 | 32 | ||
33 | enum class HelpState { | ||
34 | PreWait, | ||
35 | FadeIn, | ||
36 | Hold, | ||
37 | FadeOut, | ||
38 | Done | ||
39 | }; | ||
40 | |||
33 | struct Input { | 41 | struct Input { |
34 | bool left = false; | 42 | bool left = false; |
35 | bool right = false; | 43 | bool right = false; |
@@ -72,6 +80,8 @@ public: | |||
72 | 80 | ||
73 | Interpolation initialFade; | 81 | Interpolation initialFade; |
74 | bool startedMusic = false; | 82 | bool startedMusic = false; |
83 | HelpState helpState = HelpState::PreWait; | ||
84 | Interpolation helpProgress; | ||
75 | 85 | ||
76 | Map map; | 86 | Map map; |
77 | std::list<Kickup> kickups; | 87 | std::list<Kickup> kickups; |