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

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