MCPcopy Create free account
hub / github.com/PCGen/pcgen / setRandomGenerator

Method setRandomGenerator

code/src/java/pcgen/base/util/RandomUtil.java:71–74  ·  view source on GitHub ↗

Set the object used to generate the random numbers @param rand The random number generator

(Random rand)

Source from the content-addressed store, hash-verified

69 * @param rand The random number generator
70 */
71 public static void setRandomGenerator(Random rand)
72 {
73 random = rand;
74 }
75
76}

Callers 3

testRollMethod · 0.95
testTopRollMethod · 0.95
testRerollRollMethod · 0.95

Calls

no outgoing calls

Tested by 3

testRollMethod · 0.76
testTopRollMethod · 0.76
testRerollRollMethod · 0.76