diff options
author | Guillaume Pasquet <dev@etenil.net> | 2019-11-21 19:54:38 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2019-11-21 19:54:38 +0000 |
commit | 538008cbdc8ec8a873e62a8b991201fda5762d63 (patch) | |
tree | d9dab5a34ac13d4393ca4531807e455cf5af828a /src/main.rs | |
parent | b53947f191ad6ffc9b72890abb916a44f581c0c3 (diff) |
Fog of war! Inneficient and buggy but works
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index 5acbbef..e45701a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,15 +42,13 @@ fn main() { let _raw = RawScreen::into_raw_mode(); - state.render_level(); - let input = input(); let mut reader = input.read_sync(); loop { - // update + state.render_player(); + state.render_level(); state.render_entities(); - state.render_player(); state.render_ui(); |