Expand description

Provides functionality to calculate the total playtime for either a Run or a Timer. For a Run, all the durations stored in the attempt history are summed together. For a Timer, the current attempt’s duration is also factored in.

Traits

Allows calculating the total playtime.

Functions

Calculates the total playtime. The source can be a Run, Timer or any other type that implements the TotalPlaytime trait.