Package zombie.core
Class Rand
java.lang.Object
zombie.core.Rand
public class Rand
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rand.PZSeedGenerator
-
Field Summary
Fields Modifier and Type Field Description static int
id
-
Constructor Summary
Constructors Constructor Description Rand()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
public static int id
-
-
Constructor Details
-
Rand
public Rand()
-
-
Method Details
-
init
public static void init(int seed) -
init
public static void init() -
Next
public static int Next(int max) -
Next
public static long Next(long max) -
Next
public static int Next(int min, int max) -
Next
public static long Next(long min, long max) -
Next
public static float Next(float min, float max) -
AdjustForFramerate
public static int AdjustForFramerate(int chance)
-