This commit is contained in:
StephenAdamson
2024-12-18 00:09:13 +00:00
parent d107626b32
commit 18d587fdea
3 changed files with 17 additions and 9 deletions
+4 -3
View File
@@ -42,10 +42,11 @@ pub struct WallTile {
}
#[derive(Component)]
pub struct WaterTile {
pub tile: Tile,
pub swimmable: bool,
#[require(Tile)]
pub struct HasWater {
pub height : u8,
pub astarmultiplier: f32,
pub swimmable: bool,
}
#[derive(Component)]