generated from tipragot/rust
Update crates/border-wars/src/map/renderer.rs
This commit is contained in:
parent
530922aa88
commit
e3049a126a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue