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); }
public List <string> GetNextPossibleMoves(string fromCellPostion) { VerticalMovement verticalMovement = new VerticalMovement(); return(verticalMovement.GetPossibleMoves(fromCellPostion, _stepLimit)); }