Change initial pathfinding.
This commit is contained in:
parent
73c525985c
commit
f25b58448e
5 changed files with 254 additions and 186 deletions
|
|
@ -6,7 +6,7 @@ use termcolor::{ColorSpec, StandardStream, WriteColor};
|
|||
|
||||
pub type PositionType = i32;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug, Hash)]
|
||||
pub enum Direction {
|
||||
Up,
|
||||
Right,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue