Fix hat chooses the wizard

This commit is contained in:
Gwilym Kuiper 2022-02-19 21:00:09 +00:00
parent 742231fbc5
commit a35119fdbd
5 changed files with 11 additions and 11 deletions

View file

@ -2,11 +2,8 @@
#![no_main]
use agb::{
display::{
background::{TileFormat, TileSet, TileSetting},
object::ObjectStandard,
HEIGHT, WIDTH,
},
display::tiled::{TileFormat, TileSet},
display::{background::TileSetting, object::ObjectStandard, HEIGHT, WIDTH},
input::Button,
};
use core::convert::TryInto;

View file

@ -5,7 +5,7 @@ use video::Video;
use self::object::ObjectControl;
mod tiled;
pub mod tiled;
/// Graphics mode 0. Four regular backgrounds.
pub mod background;

View file

@ -1,5 +1,6 @@
use agb::display::{
background::{RegularMap, TileSetReference, TileSetting, VRamManager},
background::{RegularMap, TileSetting, VRamManager},
tiled::TileSetReference,
HEIGHT, WIDTH,
};

View file

@ -5,10 +5,9 @@ extern crate alloc;
use agb::{
display::{
background::{
InfiniteScrolledMap, PartialUpdateStatus, TileFormat, TileSet, TileSetting, VRamManager,
},
background::{InfiniteScrolledMap, PartialUpdateStatus, TileSetting, VRamManager},
object::{ObjectControl, ObjectStandard, Size},
tiled::{TileFormat, TileSet},
Priority, HEIGHT, WIDTH,
},
fixnum::{FixedNum, Vector2D},

View file

@ -1,6 +1,9 @@
use super::sfx::MusicBox;
use agb::{
display::background::{RegularMap, TileFormat, TileSet, TileSetting, VRamManager},
display::{
background::{RegularMap, TileSetting, VRamManager},
tiled::{TileFormat, TileSet},
},
sound::mixer::Mixer,
};