mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Add an into_inner() function on infinite scrolled map
This commit is contained in:
parent
0e7716b4ee
commit
569a1c0425
|
@ -430,6 +430,11 @@ impl<'a> InfiniteScrolledMap<'a> {
|
|||
pub const fn background(&self) -> BackgroundID {
|
||||
self.map.background()
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn into_inner(self) -> MapLoan<'a, RegularMap> {
|
||||
self.map
|
||||
}
|
||||
}
|
||||
|
||||
fn div_floor(x: i32, y: i32) -> i32 {
|
||||
|
|
Loading…
Reference in a new issue