A class for tracking the total playtime of something.
A function that returns the current time, in milliseconds.
Calculates the total play time.
Pauses the tracking of total play time.
Starts or resumes playback.
Resets the total playtime counter to zero.