release v1.0.0

This commit is contained in:
Jim 2025-10-05 16:43:21 -04:00
parent 09e244d748
commit 6d887cfb04
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
4 changed files with 8 additions and 27 deletions

View file

@ -37,7 +37,6 @@ impl Plugin for UiIngamePlugin {
.run_if(in_state(GameUIState::Default).and(not(in_state(CoreState::Dead)))),
game_over.run_if(in_state(GameState::GameOver)),
plan_ui.run_if(in_state(GameUIState::Default).and(in_state(Phase::Plan))),
execute_ui.run_if(in_state(GameUIState::Default).and(in_state(Phase::Execute))),
transition_ui.run_if(
in_state(GameUIState::Default).and(
not(in_state(PhaseTransitionState::None))
@ -102,28 +101,6 @@ fn plan_ui(
});
}
fn execute_ui(mut contexts: EguiContexts, mut res: ResMut<Resources>) {
let ctx = contexts.ctx_mut().unwrap();
egui::Window::new("ExecuteUI")
.resizable(false)
.collapsible(false)
.title_bar(false)
.anchor(Align2::CENTER_TOP, [0., 0.])
.show(ctx, |ui| {
// todo - remove this
if ui
.button(RichText::new("DEBUG - $$$").size(LARGE_FONT_SIZE))
.clicked()
{
res.0 = res.0
+ Quantity {
souls: 100,
bones: 100,
}
}
});
}
#[derive(Resource, DerefMut, Deref)]
struct TransitionTimer(Timer);