Example #1
0
        public override void ActionEffect(System.Action callBack)
        {
            DiceRerollManager diceRerollManager = new DiceRerollManager
            {
                CallBack = delegate { Source.TryDiscard(callBack); }
            };

            diceRerollManager.Start();
            SelectAllRerolableDices();
            diceRerollManager.ConfirmReroll();
        }
Example #2
0
    public static void SyncDiceRerollSelected(List <bool> selectedDice)
    {
        Phases.CurrentSubPhase.IsReadyForCommands = false;

        for (int i = 0; i < DiceRoll.CurrentDiceRoll.DiceList.Count; i++)
        {
            DiceRoll.CurrentDiceRoll.DiceList[i].ToggleSelected(selectedDice[i]);
        }

        CurrentDiceRerollManager.ConfirmReroll();
    }
Example #3
0
        public override void ActionEffect(System.Action callBack)
        {
            DiceRerollManager diceRerollManager = new DiceRerollManager
            {
                CallBack = callBack
            };

            diceRerollManager.Start();
            SelectAllRerolableDices();
            diceRerollManager.ConfirmReroll();
        }