Add a generic text-prompt system

Add a generic text-prompt system to the Game, and use it to prompt the
character for their name on startup. There's also a Promise type in
util, which is used for the result of the prompt.
This commit is contained in:
Griffin Smith 2019-07-27 22:16:23 -04:00
parent 68e8ad8a0e
commit f22bcad817
11 changed files with 488 additions and 54 deletions

View file

@ -26,6 +26,7 @@ extern crate include_dir;
extern crate nom;
#[macro_use]
extern crate matches;
extern crate futures;
#[macro_use]
mod util;