satisfy linter

This commit is contained in:
Corwin 2022-08-01 22:50:37 +01:00
parent 595d64912e
commit f4bd6e330d

View file

@ -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");