[board] Move neighbor::Direction → square::Direction

This commit is contained in:
Eryn Wells 2023-12-27 07:58:42 -07:00
parent 19c48b9816
commit ff59799add
3 changed files with 11 additions and 14 deletions

View file

@ -1,8 +1,18 @@
// Eryn Wells <eryn@erynwells.me>
use crate::neighbor::Direction;
use std::str::FromStr;
pub enum Direction {
North,
NorthWest,
West,
SouthWest,
South,
SouthEast,
East,
NorthEast,
}
#[derive(Debug)]
pub struct ParseSquareError;