TotalPlaytimeCounter
class TotalPlaytimeCounter
A class for tracking the total playtime of something.
Parameters
timeProvider
A function that returns the current time, in milliseconds.
A class for tracking the total playtime of something.
A function that returns the current time, in milliseconds.