MCPcopy 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

AddMethod · 0.95
PickFirstMethod · 0.95
PickNextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected