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] #![no_main]
use agb::{ use agb::{
display::{ display::tiled::{TileFormat, TileSet},
background::{TileFormat, TileSet, TileSetting}, display::{background::TileSetting, object::ObjectStandard, HEIGHT, WIDTH},
object::ObjectStandard,
HEIGHT, WIDTH,
},
input::Button, input::Button,
}; };
use core::convert::TryInto; use core::convert::TryInto;

View file

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

View file

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

View file

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

View file

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