Example #1
0
    static IEnumerator WaitForResults(DiceRoll diceRoll, DelegateDiceroll callBack)
    {
        yield return(new WaitForSeconds(WAIT_FOR_DICE_SECONDS));

        //OrganizeDicePositions(diceRoll);
        diceRoll.CalculateWaitedResults();

        callBack(diceRoll);
    }