SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 87 Rust

aligning public apis of Time,Timer and Stopwatch (#15962)

Fixes #15834

## Migration Guide

The APIs of `Time`, `Timer` and `Stopwatch` have been cleaned up for
consistency with each other and the standard library's `Duration` type.
The following methods have been renamed:

- `Stowatch::paused` -> `Stopwatch::is_paused`
- `Time::elapsed_seconds` -> `Time::elasped_secs` (including `_f64` and
`_wrapped` variants)
A
andristarr committed
7482a0d26d92f5eb98d15245e976ef044f3463ce
Parent: 7495d68
Committed by GitHub <noreply@github.com> on 10/16/2024, 9:09:32 PM