Exemple #1
0
    void QueueDieThrow(string diceType, int quantity, string description)
    {
        Debug.Log(string.Format("Queueing a dice throw"));
        Throw newThrow = new Throw();

        newThrow.description = description;
        for (int i = 0; i < quantity; i++)
        {
            newThrow.Add(diceType);
        }
        throws.Add(newThrow);
    }
Exemple #2
0
 void QueueDieThrow(string diceType, int quantity, string description)
 {
     Debug.Log(string.Format("Queueing a dice throw"));
     Throw newThrow = new Throw();
     newThrow.description = description;
     for(int i=0; i<quantity; i++)
     {
         newThrow.Add(diceType);
     }
     throws.Add(newThrow);
 }