Change textures of tiles #75

Merged
CoCo_Sol merged 14 commits from change-texture into main 2024-03-09 14:37:00 +00:00
Showing only changes of commit ccb9fe5c81 - Show all commits

View file

@ -42,18 +42,9 @@ impl Tile {
/// this function in the future.
pub const fn get_image_size(&self) -> Vec2 {
match self {
Self::Grass => Vec2 {
x: 184.0,
y: 164.0,
},
Self::Forest => Vec2 {
x: 184.0,
y: 138.0,
},
Self::Hill => Vec2 {
x: 184.0,
y: 181.0,
},
Self::Grass => Vec2 { x: 184.0, y: 164.0 },
Self::Forest => Vec2 { x: 184.0, y: 138.0 },
Self::Hill => Vec2 { x: 184.0, y: 181.0 },
}
}
}