Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ randomElement
Method
randomElement
editor/src/java/com/defold/editor/Splash.java:73–75 ·
view source on GitHub ↗
(List<String> tips)
Source
from the content-addressed store, hash-verified
71
}
72
73
private
static
String randomElement(List<String> tips) {
74
return
tips.get(randomInt(tips.size()));
75
}
76
77
private
static
void
randomGame(Scene scene) {
78
List<String[]> games =
new
ArrayList<>();
Callers
1
show
Method · 0.95
Calls
3
randomInt
Method · 0.95
get
Method · 0.65
size
Method · 0.45
Tested by
no test coverage detected