mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
more
This commit is contained in:
parent
a6c80f6cd4
commit
15e4c6e93e
1 changed files with 2 additions and 6 deletions
|
|
@ -16,14 +16,10 @@ impl App {
|
|||
|
||||
fn main() {
|
||||
let mut app = App::new();
|
||||
app.sf_egui
|
||||
.do_frame(|ctx| {
|
||||
do_debug_ui(ctx, &mut app.game);
|
||||
})
|
||||
.unwrap();
|
||||
do_debug_ui(&mut app.game);
|
||||
}
|
||||
|
||||
pub(crate) fn do_debug_ui(ctx: &egui::Context, mut game: &mut GameState) {
|
||||
pub(crate) fn do_debug_ui(mut game: &mut GameState) {
|
||||
show(&|ui| {
|
||||
::egui_inspect::UiExt::property(ui, "game", &mut game, &mut 0);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue