mirror of
https://github.com/Stone-Red-Code/Maze.git
synced 2026-09-04 09:06:14 +02:00
Implement strategy pattern
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace Maze.Nodes;
|
||||
|
||||
internal class MazeNode
|
||||
{
|
||||
public bool Visited { get; set; }
|
||||
public bool Wall { get; set; }
|
||||
public bool Start { get; set; }
|
||||
public bool Goal { get; set; }
|
||||
public bool Updated { get; set; } = true;
|
||||
public MazeNode? Parent { get; set; }
|
||||
public List<MazeNode> Neighbors { get; set; } = new List<MazeNode>();
|
||||
}
|
||||
Reference in New Issue
Block a user