Struct ascii_hangman_backend::Backend [−][src]
pub struct Backend { /* fields omitted */ }
Expand description
State of the application.
Trait Implementations
Initialize the application with config data and start the first game.
The user_input is a key stroke. The meaning depends on the game’s state:
Renders the image. Make sure it is up to date with self.image.update()
.
Renders the partly hidden secret.
Informs about some game statistics: lifes
Informs about some game statistics: last guess
Tells the user what to do next.