Esempio n. 1
0
        public INode GetNeigbour(IMazeViewData mazeView, IDirection direction)
        {
            ILocation location = Location.Add(mazeView.MovementCube[direction.Value]);

            return(mazeView.GetNodeAt(location));
        }
Esempio n. 2
0
 public IList <ILocation> GetAllPossibleNeighbours()
 {
     return(Location.GetAllPossibleNeighbours());
 }