Make methods on Time
, Timer
, and Stopwatch
more consistent
#15834
Labels
A-Time
Involves time keeping and reporting
C-Code-Quality
A section of code that is hard to understand or change
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
0.14 / main
What you did
Noticed some small inconsistencies between
Time
,Timer
andStopwatch
while refactoring.What went wrong
This may not be totally comprehensive.
Time
Timer
Stopwatch
At a glance, it seems like we should
_f64
stuff toTimer
*_seconds
to*_secs
or vice versapaused
tois_paused
or vice versaAdditional information
When deciding on renames there may be other methods to look at (animation, audio, whatever) with similarly-named methods. e.g.
AudioSink::is_paused
,Duration::from_secs
.The text was updated successfully, but these errors were encountered: