public void ToggleSelectDice(model.Dice dice, int i) { if (dice.GetDice()[i].Save) { dice.GetDice()[i].Save = false; } else { dice.GetDice()[i].Save = true; } }
public void DisplayDiceValues(model.Dice dice) { Console.WriteLine("Dice values"); foreach (model.Die die in dice.GetDice()) { System.Threading.Thread.Sleep(400); Console.Write(die.Value + ", "); } Console.WriteLine("\n"); }
public void SelectDice(model.Dice dice) { Console.WriteLine("Select dice to keep"); int i = 1; foreach (model.Die die in dice.GetDice()) { Console.Write(i + ". " + die.Value); if (die.Save) { Console.Write("(Saved)"); } Console.WriteLine(); i++; } Console.WriteLine(i + ". Done"); }