diff --git a/game/src/character/mod.rs b/game/src/character/mod.rs index ada2cb4..9c1b0d2 100644 --- a/game/src/character/mod.rs +++ b/game/src/character/mod.rs @@ -17,7 +17,6 @@ pub enum CharacterState { Running, Jumping, Dashing, - Halt, } #[derive(Debug)] diff --git a/game/src/scenes/mod.rs b/game/src/scenes/mod.rs index 1d3ae66..a3afe32 100644 --- a/game/src/scenes/mod.rs +++ b/game/src/scenes/mod.rs @@ -1,5 +1,5 @@ use self::{ - pause_screen::PauseScreen + pause_screen::PauseScreen, fsm_error_screen::FsmErrorScreen, ingame_scene::{level::loader::load_all_levels, InGameScreen}, loading_screen::LoadingScreen, diff --git a/game/src/scenes/pause_screen.rs b/game/src/scenes/pause_screen.rs index 8d63b9b..e960b71 100644 --- a/game/src/scenes/pause_screen.rs +++ b/game/src/scenes/pause_screen.rs @@ -157,18 +157,6 @@ impl ScreenSpaceRender for PauseScreen { Color::WHITE ); - raylib.draw_text( - &format!( - "Position x: {} Position y: {}", - mouse_position.x, - mouse_position.y - ), - screen_size.x as i32 / 30, - screen_size.y as i32 / 30, - 20, - Color::WHITE - ); - if Rectangle::new(390.0,464.0,200.0,50.0).check_collision_point_rec(mouse_position) { raylib.draw_text( "Main Menu",