Ejemplo n.º 1
0
        public MazeCordinate CheckIfMoveAvailable(CardinalDirection movementDirection, Maze maze)
        {
            movmentCordinate = getCordinateForCardinalDirection(movementDirection);
            MazeCordinate mazeCordinate = maze.getMazeCordinate(movmentCordinate[0], movmentCordinate[1]);

            return(mazeCordinate);
        }
Ejemplo n.º 2
0
 public void Reset()
 {
     Maze1   = null;
     Player1 = null;
     Initialize();
 }