mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Remove priority()
from TiledMapPrivate
as it can now be accessed straight from the underlying type.
This commit is contained in:
parent
41979460f6
commit
a9a4a052a9
|
@ -30,7 +30,6 @@ trait TiledMapPrivate: TiledMapTypes {
|
|||
|
||||
fn background_id(&self) -> usize;
|
||||
fn screenblock(&self) -> usize;
|
||||
fn priority(&self) -> Priority;
|
||||
fn map_size(&self) -> Self::Size;
|
||||
|
||||
fn update_bg_registers(&self);
|
||||
|
@ -217,9 +216,6 @@ impl TiledMapPrivate for RegularMap {
|
|||
fn screenblock(&self) -> usize {
|
||||
self.screenblock as usize
|
||||
}
|
||||
fn priority(&self) -> Priority {
|
||||
self.priority
|
||||
}
|
||||
fn map_size(&self) -> Self::Size {
|
||||
self.size
|
||||
}
|
||||
|
@ -401,9 +397,6 @@ impl TiledMapPrivate for AffineMap {
|
|||
fn screenblock(&self) -> usize {
|
||||
self.screenblock as usize
|
||||
}
|
||||
fn priority(&self) -> Priority {
|
||||
self.priority
|
||||
}
|
||||
fn map_size(&self) -> Self::Size {
|
||||
self.size
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue