Beispiel #1
0
    public void StartRoll()
    {
        int roll = Random.Range(GameConstants.MinDiceValue, GameConstants.MaxDiceValue);

        diceText.text = GameConstants.GameDiceText + roll;

        IDice diceInterface = playerPlaying == PlayerType.Player ? player : bot;

        diceInterface.StartRoll(roll);
    }