MCPcopy Index your code
hub / github.com/Card-Forge/forge / getRandom

Method getRandom

forge-core/src/main/java/forge/util/MyRandom.java:54–56  ·  view source on GitHub ↗

Gets the random. @return the random

()

Source from the content-addressed store, hash-verified

52 * @return the random
53 */
54 public static Random getRandom() {
55 return MyRandom.random;
56 }
57
58 /**
59 * Sets the random provider. Used for deterministic simulation.

Callers 15

chooseCardsForAnteMethod · 0.95
shuffleMethod · 0.95
shuffleMethod · 0.95
shuffleMethod · 0.95
xCountMethod · 0.95
rollActionMethod · 0.95
flipCoinMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95

Calls

no outgoing calls

Tested by 5

getCardFromEditionMethod · 0.76
mutateObjectMethod · 0.76
createChildMethod · 0.76
expandPoolMethod · 0.76
chooseCardsPileMethod · 0.76