Timer
A simple millisecond based timer
Initialise a new Timer object by simply calling new Timer()
getTime(): long
getTime(): longReturns the amount of milliseconds since the last reset
hasPassed(double time): boolean
hasPassed(double time): booleanReturns whether the given amount of milliseconds has passed since the last reset
reset(): void
reset(): voidResets the timer
Last updated