예제 #1
0
        public List <string> GetNextPossibleMoves(string fromCellPostion)
        {
            List <string>      possibleMoves      = new List <string>();
            HorizantalMovement horizantalMovement = new HorizantalMovement();

            possibleMoves.AddRange(horizantalMovement.GetPossibleMoves(fromCellPostion, _stepLimit));

            VerticalMovement verticalMovement = new VerticalMovement();

            possibleMoves.AddRange(verticalMovement.GetPossibleMoves(fromCellPostion, _stepLimit));

            return(possibleMoves);
        }
예제 #2
0
        public List <string> GetNextPossibleMoves(string fromCellPostion)
        {
            VerticalMovement verticalMovement = new VerticalMovement();

            return(verticalMovement.GetPossibleMoves(fromCellPostion, _stepLimit));
        }