mirror of
https://github.com/ppy/osu.git
synced 2026-05-13 19:54:15 +08:00
2
Gameplay clocks
Dean Herbert edited this page 2019-03-05 16:40:01 +09:00
To allow for the various different components to harmoniously work together, the gameplay clock stack is quite complex.
Player:
- Adds offsets
- Performs seeks
PauseContainer:
- Pauses and resumes
- Caches a
GameplayClock(disallowing children to process frames)
RulesetInputManager:
- Ensures consistent gameplay frames
- Handles replay and spectator edge cases via a
ManualClock - Limits updates of all children
- Recaches
GameplayClockbut also applies the clock to all children.
