Exemple #1
0
        public static int GetRandom(this IRandomUser user, int min, int max)
        {
            if (user.Random == null)
            {
                user.InitializeRandom();
            }

            return(GetRandom(min, max, user.Random));
        }
Exemple #2
0
        public static bool HasChance(this IRandomUser user, int rate)
        {
            if (user.Random == null)
            {
                user.InitializeRandom();
            }

            return(HasChance(rate, user.Random));
        }