Files
shinespark/src/ui/stock_icon.rs
T
EIREXE 15f07edaaf
CI / build-and-test (push) Successful in 1m16s
CI / production-build (push) Successful in 9m38s
Add stocks UI (#52)
Reviewed-on: #52
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
2026-09-20 11:34:45 +00:00

17 lines
402 B
Rust

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})
}
}
}