This commit is contained in:
nora 2023-04-17 22:12:36 +02:00
parent 635759d58a
commit 20c03b4e5b
2 changed files with 5 additions and 20 deletions

View file

@ -1,4 +1,3 @@
use debug::DebugState;
use egui_sfml::SfEgui;
use game::GameState;
@ -9,7 +8,6 @@ mod tiles;
pub(crate) struct App {
pub(crate) game: GameState,
pub(crate) sf_egui: SfEgui,
pub(crate) debug: DebugState,
/// Integer scale for rendering the game
pub(crate) scale: u8,
}
@ -25,7 +23,6 @@ fn main() {
.do_frame(|ctx| {
debug::do_debug_ui(
ctx,
&mut app.debug,
&mut app.game,
&mut app.scale,
);