aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Pasquet <guillaume.pasquet@eggplant.io>2019-11-12 17:01:26 +0100
committerGuillaume Pasquet <guillaume.pasquet@eggplant.io>2019-11-12 17:01:26 +0100
commit5881f4738175a32a4890ebf14d689ae0888a5701 (patch)
treef4d237b341ffa0442d4d2375e06fc7c4d8692cef
parent8351d474150215598241b5aabacb4db863d0cd87 (diff)
Place enemies
-rw-r--r--src/state.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index afc702d..0523442 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -48,7 +48,9 @@ impl State {
}
pub fn render_entities(&self, window: &Window) {
- // TODO
+ for e in self.current_level().entities.iter() {
+ self.render_entity(&**e, window);
+ }
}
pub fn render_player(&self, window: &Window) {