Add stocks UI (#52)
CI / build-and-test (push) Successful in 1m16s
CI / production-build (push) Successful in 9m38s

Reviewed-on: #52
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #52.
This commit is contained in:
2026-09-20 11:34:45 +00:00
committed by EIREXE
parent 1276562890
commit 15f07edaaf
3 changed files with 91 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
use bevy::prelude::*;
#[derive(SceneComponent, Clone, FromTemplate)]
pub struct BattleUIStockIcon;
impl BattleUIStockIcon {
pub fn scene() -> impl Scene {
bsn! {
Node {
width: px(32),
height: px(32),
border_radius: BorderRadius::MAX,
}
BackgroundColor({bevy::color::palettes::css::RED})
}
}
}