This commit is contained in:
nora 2023-04-18 12:08:26 +02:00
parent 0cb12f28b5
commit 9636684056

View file

@ -11,13 +11,13 @@ pub(crate) struct App {
pub(crate) scale: u8, pub(crate) scale: u8,
} }
impl App { impl App {
pub(crate) fn new() -> anyhow::Result<Self> { pub(crate) fn new() -> Self {
loop {} loop {}
} }
} }
fn main() { fn main() {
let mut app = App::new().unwrap(); let mut app = App::new();
app.sf_egui app.sf_egui
.do_frame(|ctx| { .do_frame(|ctx| {
do_debug_ui(ctx, &mut app.game, &mut app.scale); do_debug_ui(ctx, &mut app.game, &mut app.scale);