diff --git a/src/game.rs b/src/game.rs index f8a14d1..fbaaf15 100644 --- a/src/game.rs +++ b/src/game.rs @@ -1,6 +1,9 @@ -use std::fmt::{self, Display, Formatter}; +use std::{ + collections::HashMap, + fmt::{self, Display, Formatter}, +}; -use button::{Button, ButtonAction}; +use button::Button; use macroquad::{math, prelude::*}; use sol_chess::{ board::{Board, BoardState}, @@ -35,7 +38,7 @@ pub struct Game { window_width: f32, squares: Vec, heading_rect: Rect, - btns: Vec