summaryrefslogtreecommitdiff
path: root/graphics/src/render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/render.rs')
-rw-r--r--graphics/src/render.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/src/render.rs b/graphics/src/render.rs
index 499301c..4166a7a 100644
--- a/graphics/src/render.rs
+++ b/graphics/src/render.rs
@@ -411,6 +411,9 @@ where
/// Draws the entities on the map
fn draw_entities(&mut self, dungeon: &Dungeon) {
self.draw_entity(&dungeon.player.entity);
+ for enemy in &dungeon.enemies {
+ self.draw_entity(&enemy.entity);
+ }
}
/// Draws an entity