From e5fc5bccff29bce3de09209707cf8dbe14a80b35 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 20 Mar 2022 20:14:46 -0400 Subject: control instructions --- src/game.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/game.h') 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 { Done }; +enum class HelpState { + PreWait, + FadeIn, + Hold, + FadeOut, + Done +}; + struct Input { bool left = false; bool right = false; @@ -72,6 +80,8 @@ public: Interpolation initialFade; bool startedMusic = false; + HelpState helpState = HelpState::PreWait; + Interpolation helpProgress; Map map; std::list kickups; -- cgit 1.4.1