From 5881f4738175a32a4890ebf14d689ae0888a5701 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Tue, 12 Nov 2019 17:01:26 +0100 Subject: Place enemies --- src/state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3