about summary refs log tree commit diff
path: root/src/util/mod.rs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-07-28T02·16-0400
committerGriffin Smith <root@gws.fyi>2019-07-28T02·16-0400
commitf22bcad817ee354b355d29b6b289894e2d15cfaa (patch)
tree509aa3b88f834ffaccd6a90b61ae2c1e1567622d /src/util/mod.rs
parent68e8ad8a0e6a5ac38b34658f03807ade603a687c (diff)
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.
Diffstat (limited to 'src/util/mod.rs')
-rw-r--r--src/util/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs
index c2b4eecaf5f4..c55fdfeae2b4 100644
--- a/src/util/mod.rs
+++ b/src/util/mod.rs
@@ -2,3 +2,4 @@
 pub mod static_cfg;
 #[macro_use]
 pub mod template;
+pub mod promise;