[board] Move neighbor::Direction → square::Direction
This commit is contained in:
parent
19c48b9816
commit
ff59799add
3 changed files with 11 additions and 14 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue