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:
parent
68e8ad8a0e
commit
f22bcad817
11 changed files with 488 additions and 54 deletions
|
|
@ -9,13 +9,14 @@ backtrace = "0.3"
|
|||
clap = {version = "^2.33.0", features = ["yaml"]}
|
||||
config = "*"
|
||||
downcast-rs = "^1.0.4"
|
||||
futures = "0.1.28"
|
||||
include_dir = "0.2.1"
|
||||
itertools = "*"
|
||||
lazy_static = "*"
|
||||
log = "*"
|
||||
log4rs = "*"
|
||||
matches = "0.1.8"
|
||||
maplit = "^1.0.1"
|
||||
matches = "0.1.8"
|
||||
nom = "^5.0.0"
|
||||
prettytable-rs = "^0.8"
|
||||
proptest = "0.9.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue