Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
chooseCardsForAnte
Method · 0.95
determineFirstTurnPlayer
Method · 0.95
shuffle
Method · 0.95
shuffle
Method · 0.95
shuffle
Method · 0.95
xCount
Method · 0.95
rollAction
Method · 0.95
flipCoin
Method · 0.95
resolve
Method · 0.95
resolve
Method · 0.95
resolve
Method · 0.95
resolve
Method · 0.95
Calls
no outgoing calls
Tested by
5
getCardFromEdition
Method · 0.76
mutateObject
Method · 0.76
createChild
Method · 0.76
expandPool
Method · 0.76
chooseCardsPile
Method · 0.76