Remove priority() from TiledMapPrivate as it can now be accessed straight from the underlying type.

This commit is contained in:
kouta 2024-07-11 14:34:12 -03:00
parent 41979460f6
commit a9a4a052a9

View file

@ -30,7 +30,6 @@ trait TiledMapPrivate: TiledMapTypes {
fn background_id(&self) -> usize; fn background_id(&self) -> usize;
fn screenblock(&self) -> usize; fn screenblock(&self) -> usize;
fn priority(&self) -> Priority;
fn map_size(&self) -> Self::Size; fn map_size(&self) -> Self::Size;
fn update_bg_registers(&self); fn update_bg_registers(&self);
@ -217,9 +216,6 @@ impl TiledMapPrivate for RegularMap {
fn screenblock(&self) -> usize { fn screenblock(&self) -> usize {
self.screenblock as usize self.screenblock as usize
} }
fn priority(&self) -> Priority {
self.priority
}
fn map_size(&self) -> Self::Size { fn map_size(&self) -> Self::Size {
self.size self.size
} }
@ -401,9 +397,6 @@ impl TiledMapPrivate for AffineMap {
fn screenblock(&self) -> usize { fn screenblock(&self) -> usize {
self.screenblock as usize self.screenblock as usize
} }
fn priority(&self) -> Priority {
self.priority
}
fn map_size(&self) -> Self::Size { fn map_size(&self) -> Self::Size {
self.size self.size
} }