tile content iterator with runstate tweak - returns optional runstate

This commit is contained in:
Llywelwyn 2023-08-16 01:45:23 +01:00
parent 012d61603a
commit 76cc6a6938
4 changed files with 12 additions and 12 deletions

View file

@ -51,9 +51,9 @@ pub fn tile_opaque(tt: TileType) -> bool {
pub fn tile_cost(tt: TileType) -> f32 {
match tt {
TileType::Road => 0.8,
TileType::Road => 0.5,
TileType::Grass => 1.1,
TileType::ShallowWater => 1.2,
TileType::ShallowWater => 1.3,
_ => 1.0,
}
}