Azmyth.Maths.Dice.GetRolls C# (CSharp) Метод

GetRolls() публичный статический Метод

public static GetRolls ( int size, int dice ) : int[]
size int
dice int
Результат int[]
        public static int[] GetRolls(int size, int dice)
        {
            int[] roll = new int[dice];

            for (int die = 0; die < dice; die++)
            {
                roll[die] = Numbers.NumberRange(1, size);
            }

            return roll;
        }