Update crates/border-wars/src/map/renderer.rs
Some checks failed
Rust Checks / checks (push) Failing after 6s
Rust Checks / checks (pull_request) Failing after 6s

This commit is contained in:
CoCo_Sol 2024-03-05 17:33:30 +00:00
parent 530922aa88
commit e3049a126a

View file

@ -37,6 +37,9 @@ impl Tile {
}
/// Returns the size of the image of the tile.
///
/// TODO: we are currently using temporary images that will modify
/// this function in the future.
const fn get_image_size(&self) -> Vec2 {
match self {
Self::Grass => Vec2 {