Implement damage UI, damage and stale moves. (#45)
CI / build-and-test (push) Successful in 1m30s

Reviewed-on: #45
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #45.
This commit is contained in:
2026-09-19 15:40:44 +00:00
committed by EIREXE
parent 7269a1cb49
commit 804e5e37e0
11 changed files with 178 additions and 60 deletions
+18
View File
@@ -0,0 +1,18 @@
use bevy::prelude::*;
use crate::AppState;
pub mod battle_ui;
pub mod errors;
pub mod fighter_info;
#[derive(Default)]
pub struct InGameUIPlugin;
impl Plugin for InGameUIPlugin {
fn build(&self, app: &mut App) {
app.add_systems(OnEnter(AppState::InMatch), battle_ui::spawn_battle_ui)
.add_systems(OnExit(AppState::InMatch), battle_ui::cleanup_battle_ui)
.add_systems(PostUpdate, fighter_info::update_fighter_info_damage);
}
}