From a9a4a052a9d9fd454b2b19c8facd6c00f8b8dd3a Mon Sep 17 00:00:00 2001 From: kouta Date: Thu, 11 Jul 2024 14:34:12 -0300 Subject: [PATCH] Remove `priority()` from `TiledMapPrivate` as it can now be accessed straight from the underlying type. --- agb/src/display/tiled/map.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/agb/src/display/tiled/map.rs b/agb/src/display/tiled/map.rs index 0b1d5bdf..e3e46d10 100644 --- a/agb/src/display/tiled/map.rs +++ b/agb/src/display/tiled/map.rs @@ -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 }