MCPcopy Create free account
hub / github.com/defold/defold / randomInt

Method randomInt

editor/src/java/com/defold/editor/Splash.java:52–54  ·  view source on GitHub ↗
(int max)

Source from the content-addressed store, hash-verified

50 }
51
52 private static int randomInt(int max) {
53 return new Random().nextInt(max);
54 }
55
56 private static List<String> readTips() throws IOException {
57 InputStream tipsResource = Thread.currentThread()

Callers 2

randomElementMethod · 0.95
randomGameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected