Try to render characters
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user