Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/demoth/jake2
/ NEXT
Method
NEXT
game/src/main/java/jake2/game/PlayerTrail.java:54–56 ·
view source on GitHub ↗
(int n)
Source
from the content-addressed store, hash-verified
52
}
53
54
int
NEXT(
int
n) {
55
return
(n + 1) % TRAIL_LENGTH;
56
}
57
58
int
PREV(
int
n) {
59
return
(n + TRAIL_LENGTH - 1) % TRAIL_LENGTH;
Callers
3
Add
Method · 0.95
PickFirst
Method · 0.95
PickNext
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected