Try to render characters

This commit is contained in:
2023-10-16 13:51:24 -05:00
parent 8677e05fe1
commit 783021d5f3
3 changed files with 44 additions and 22 deletions

View File

@@ -12,17 +12,11 @@ pub struct Armor {
pub ac: u32,
}
#[derive(Component)]
pub struct Position {
pub x: f32,
pub y: f32,
}
#[derive(Bundle)]
pub struct Creature {
pub health: Health,
pub armor: Armor,
pub position: Position,
pub spatial: SpatialBundle,
}
#[derive(Component)]