grid: use coord2d more consistently
This commit is contained in:
6 files changed
+37
-15
No files matched your search
+1
-1
@@ -104,7 +104,7 @@ impl<T: BufRead> From<T> for Map {
|
||||
let guard_facing = FacingDirection::Up;
|
||||
Self {
|
||||
grid,
|
||||
guard_pos,
|
||||
guard_pos: guard_pos.into(),
|
||||
guard_facing,
|
||||
visited_from,
|
||||
path: Vec::new(),
|
||||
|
||||
Reference in new issue
Block a user