Package zombie.util
Class LocationRNG
java.lang.Object
zombie.util.LocationRNG
Reference http://xoroshiro.di.unimi.it/
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getSeed()
float
Reference: https://github.com/roquendm/int
nextInt
(int n) Reference: https://github.com/roquendm/int
nextInt
(int n, int x, int y, int z) void
setSeed
(long seed)
-
Field Details
-
instance
-
-
Constructor Details
-
LocationRNG
public LocationRNG()
-
-
Method Details
-
setSeed
public void setSeed(long seed) -
getSeed
public long getSeed() -
nextFloat
public float nextFloat()Reference: https://github.com/roquendm/ -
nextInt
public int nextInt(int n) Reference: https://github.com/roquendm/ -
nextInt
public int nextInt(int n, int x, int y, int z)
-