Closed Channyboy closed 4 years ago
Timer
is using these types too, so this might get confusing when it uses different types than SimpleTimer
. But we can't change Timer
in 2.3, so that would be an argument to hold this off until a breaking change release, but on the other hand, doing it for SimpleTimer
now would mean fewer breaking changes when the major release happens. What a dilemma.
Other than that, I'm not opposed to this change.
Modify
update()
to take aDuration
parameter andgetElpasedTime()
to return aDuration
object.