mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
satisfy linter
This commit is contained in:
parent
595d64912e
commit
f4bd6e330d
|
@ -11,7 +11,7 @@
|
||||||
#![no_main]
|
#![no_main]
|
||||||
|
|
||||||
use agb::{
|
use agb::{
|
||||||
display::object::{Graphics, ObjectController, Tag},
|
display::object::{Graphics, Tag},
|
||||||
include_aseprite,
|
include_aseprite,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,7 +20,9 @@ use agb::{
|
||||||
const GRAPHICS: &Graphics = include_aseprite!("gfx/sprites.aseprite");
|
const GRAPHICS: &Graphics = include_aseprite!("gfx/sprites.aseprite");
|
||||||
|
|
||||||
// We define some easy ways of referencing the sprites
|
// We define some easy ways of referencing the sprites
|
||||||
|
#[allow(dead_code)]
|
||||||
const PADDLE_END: &Tag = GRAPHICS.tags().get("Paddle End");
|
const PADDLE_END: &Tag = GRAPHICS.tags().get("Paddle End");
|
||||||
|
#[allow(dead_code)]
|
||||||
const PADDLE_MID: &Tag = GRAPHICS.tags().get("Paddle Mid");
|
const PADDLE_MID: &Tag = GRAPHICS.tags().get("Paddle Mid");
|
||||||
const BALL: &Tag = GRAPHICS.tags().get("Ball");
|
const BALL: &Tag = GRAPHICS.tags().get("Ball");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue