tift/src/champion.rs
2024-11-11 17:35:17 -06:00

19 lines
313 B
Rust

use bevy::prelude::*;
use common::{ChampionDefinition, ChampionItems, ItemSlot};
#[derive(Bundle)]
pub struct ChampionInstance<Def: ChampionDefinition> {
def: Def,
hp: Hp,
items: ChampionItems,
}
#[derive(Component)]
pub struct Hp {
current: u64,
max: u64,
}
#[derive(Component)]
pub struct Mana {}