Changed type of maze in SolvedMaze to pointer, to
not copy the entire maze by value
This commit is contained in:
@ -48,6 +48,6 @@ type Maze struct {
|
||||
}
|
||||
|
||||
type SolvedMaze struct {
|
||||
Maze
|
||||
*Maze
|
||||
Solution []*Node
|
||||
}
|
||||
|
Reference in New Issue
Block a user