internal static List <OneStep> StartNextTurn(Cubes cubes, Color color, Player currentPlayer, Board board) { currentRoll = new List <int>(); currentRoll.Add(cubes.cube1); currentRoll.Add(cubes.cube2); if (cubes.cube2 == cubes.cube1) { currentRoll.Add(cubes.cube1); currentRoll.Add(cubes.cube1); } return(returnPossabilities(board, color.currentColor, currentPlayer)); }
public Cubes getCubes() { cubes = new Cubes(); cubes.getNewCubes(); return(cubes); }