From 748f061856eaf810f5e6d53286b26ad08e46b9fa Mon Sep 17 00:00:00 2001 From: Corwin Date: Tue, 25 Jul 2023 20:41:16 +0100 Subject: [PATCH] remove unused method --- examples/the-dungeon-puzzlers-lament/src/game/game_state.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/the-dungeon-puzzlers-lament/src/game/game_state.rs b/examples/the-dungeon-puzzlers-lament/src/game/game_state.rs index 182d787a..eeac61bc 100644 --- a/examples/the-dungeon-puzzlers-lament/src/game/game_state.rs +++ b/examples/the-dungeon-puzzlers-lament/src/game/game_state.rs @@ -63,10 +63,6 @@ impl GameState { } } - pub fn level_text(&self) -> &str { - self.level.name - } - pub fn create_simulation(&self, sfx: &mut Sfx, loader: &mut SpriteLoader) -> Simulation { Simulation::generate( self.item_states