Class OutfitRNG
java.lang.Object
zombie.core.skinnedmodel.population.OutfitRNG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
getSeed()
static float
Next
(float min, float max) static int
Next
(int max) static int
Next
(int min, int max) static boolean
NextBool
(int invProbability) static <E> E
pickRandom
(List<E> list) static ImmutableColor
static ImmutableColor
randomImmutableColor
(boolean boolean0) static void
setSeed
(long seed)
-
Constructor Details
-
OutfitRNG
public OutfitRNG()
-
-
Method Details
-
setSeed
public static void setSeed(long seed) -
getSeed
public static long getSeed() -
Next
public static int Next(int max) -
Next
public static int Next(int min, int max) -
Next
public static float Next(float min, float max) -
NextBool
public static boolean NextBool(int invProbability) -
pickRandom
-
randomImmutableColor
-
randomImmutableColor
-