This constructor is an implementation detail. Do not use this.
Returns the current comparison that is being compared against. This may be a custom comparison or one of the Comparison Generators.
Returns the current Timer Phase.
Accesses the index of the split the attempt is currently on. If there's
no attempt in progress, -1
is returned instead. This returns an
index that is equal to the amount of segments when the attempt is
finished, but has not been reset. So you need to be careful when using
this value for indexing.
Returns the current time of the Timer. The Game Time is null if the Game Time has not been initialized.
Returns the currently selected Timing Method.
Accesses the Run in use by the Timer.
Returns whether Game Time is currently initialized. Game Time automatically gets uninitialized for each new attempt.
Returns whether the Game Timer is currently paused. If the Game Timer is not paused, it automatically increments similar to Real Time.
Accesses the loading times. Loading times are defined as Game Time - Real Time.
Prints out debug information representing the whole state of the Timer. This is being written to stdout.
Saves the Run in use by the Timer as a LiveSplit splits file (*.lss).
Generated using TypeDoc
A Timer provides all the capabilities necessary for doing speedrun attempts.