bevy/release-content/migration-guides/rename_timer_paused_and_finished.md
Chris Berger a8376e982e
Rename Timer::finished and Timer::paused to is_finished and is_paused (#19386)
# Objective
Renames `Timer::finished` and `Timer::paused` to `Timer::is_finished`
and `Timer::is_paused` to align the public APIs for `Time`, `Timer`, and
`Stopwatch`.

Fixes #19110
2025-05-27 22:24:18 +00:00

348 B

title pull_requests
Renamed `Timer::paused` to `Timer::is_paused` and `Timer::finished` to `Timer::is_finished`
19386

The following changes were made:

  • Timer::paused is now Timer::is_paused
  • Timer::finished is now Timer::is_finished

This change was made to align the Timer public API with that of Time and Stopwatch.