(autoformat)

This commit is contained in:
2025-08-30 09:24:38 -05:00
parent be9cb3fe69
commit ea9055e46c
3 changed files with 3 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ pub mod consumables {
impl Default for Fuel {
fn default() -> Self {
Self(5)
Self(5)
}
}
#[derive(Event)]

View File

@@ -2,9 +2,7 @@ use bevy::{color::palettes::css::*, prelude::*, window::WindowResolution};
use bevy_inspector_egui::{bevy_egui::EguiPlugin, quick::WorldInspectorPlugin};
use crate::{
game::{
machines::{CuttingMachine, FlippingMachine, RotatingMachine, TransposingMachine},
},
game::machines::{CuttingMachine, FlippingMachine, RotatingMachine, TransposingMachine},
resources::UiTheme,
widgets::SpawnUi,
};

View File

@@ -63,7 +63,7 @@ impl FuelGauge {
let Some(mut label) = world.get_mut::<Text>(ctx.entity) else {
panic!()
};
label.0 = format!("Fuel: {}", fuel);
}
}