public INode GetNeigbour(IMazeViewData mazeView, IDirection direction) { ILocation location = Location.Add(mazeView.MovementCube[direction.Value]); return(mazeView.GetNodeAt(location)); }
public IList <ILocation> GetAllPossibleNeighbours() { return(Location.GetAllPossibleNeighbours()); }