From 574f3c694dcce927ac87dfb79276775f0904bdc8 Mon Sep 17 00:00:00 2001 From: Ryan Symons <47405201+rsymons22@users.noreply.github.com> Date: Tue, 4 Nov 2025 22:24:23 -0500 Subject: Added enemy code structure and test movement --- graphics/src/render.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'graphics') 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 -- cgit v1.2.3-freya