mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 20:35:02 +01:00
more
This commit is contained in:
parent
0e30554d4a
commit
7b0aad96d3
1 changed files with 1 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
use crate::game::GameState;
|
use crate::game::GameState;
|
||||||
use egui_inspect::inspect;
|
use egui_inspect::inspect;
|
||||||
|
|
||||||
fn debug_panel_ui(mut game: &mut GameState, ctx: &egui::Context, mut scale: &mut u8) {
|
pub(crate) fn do_debug_ui(ctx: &egui::Context, mut game: &mut GameState, mut scale: &mut u8) {
|
||||||
egui::Window::new("Debug (F12)").show(ctx, |ui| {
|
egui::Window::new("Debug (F12)").show(ctx, |ui| {
|
||||||
egui::ScrollArea::both().show(ui, |ui| {
|
egui::ScrollArea::both().show(ui, |ui| {
|
||||||
inspect! {
|
inspect! {
|
||||||
|
|
@ -10,6 +10,3 @@ fn debug_panel_ui(mut game: &mut GameState, ctx: &egui::Context, mut scale: &mut
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
pub(crate) fn do_debug_ui(ctx: &egui::Context, game: &mut GameState, scale: &mut u8) {
|
|
||||||
debug_panel_ui(game, ctx, scale);
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue