diff --git a/crates/border-wars/src/map/renderer.rs b/crates/border-wars/src/map/renderer.rs index c064af0..897a160 100644 --- a/crates/border-wars/src/map/renderer.rs +++ b/crates/border-wars/src/map/renderer.rs @@ -41,17 +41,17 @@ impl Tile { /// this function in the future. pub const fn get_image_size(&self) -> Vec2 { match self { - Tile::Breeding => Vec2::new(184., 158.), - Tile::Casern => Vec2::new(184., 167.), - Tile::Castle => Vec2::new(192., 196.), - Tile::Forest => Vec2::new(184., 165.), - Tile::Grass => Vec2::new(184., 138.), - Tile::Hill => Vec2::new(184., 181.), - Tile::Mine => Vec2::new(184., 166.), - Tile::Outpost => Vec2::new(184., 208.), - Tile::Sawmill => Vec2::new(184., 138.), - Tile::Tower => Vec2::new(184., 218.), - Tile::Wall => Vec2::new(184., 186.), + Self::Breeding => Vec2::new(184., 158.), + Self::Casern => Vec2::new(184., 167.), + Self::Castle => Vec2::new(192., 196.), + Self::Forest => Vec2::new(184., 165.), + Self::Grass => Vec2::new(184., 138.), + Self::Hill => Vec2::new(184., 181.), + Self::Mine => Vec2::new(184., 166.), + Self::Outpost => Vec2::new(184., 208.), + Self::Sawmill => Vec2::new(184., 138.), + Self::Tower => Vec2::new(184., 218.), + Self::Wall => Vec2::new(184., 186.), } } }