mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-12 01:51:34 +11:00
Remove unused num_tiles method
This commit is contained in:
parent
13de08dce7
commit
b44b42de1d
|
@ -59,10 +59,6 @@ impl<'a> TileSet<'a> {
|
||||||
pub fn new(tiles: &'a [u8], format: TileFormat) -> Self {
|
pub fn new(tiles: &'a [u8], format: TileFormat) -> Self {
|
||||||
Self { tiles, format }
|
Self { tiles, format }
|
||||||
}
|
}
|
||||||
|
|
||||||
fn num_tiles(&self) -> usize {
|
|
||||||
self.tiles.len() / self.format.tile_size() * 4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||||
|
|
Loading…
Reference in a new issue