Add a help screen and win.
This commit is contained in:
parent
831b46fa3f
commit
b5c2fc3b5f
3 changed files with 37 additions and 14 deletions
|
|
@ -52,6 +52,7 @@ namespace gui {
|
|||
|
||||
std::shared_ptr<gui::SceneUI> $cur_scene = nullptr;
|
||||
std::shared_ptr<storyboard::UI> $story = nullptr;
|
||||
bool $display_help = false;
|
||||
|
||||
FSM(sf::RenderWindow& window);
|
||||
|
||||
|
|
@ -89,6 +90,7 @@ namespace gui {
|
|||
void show_scene(const std::string& name);
|
||||
void close_scene();
|
||||
void player_died();
|
||||
void player_won();
|
||||
void check_player_wins();
|
||||
void toggle_help();
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue