mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 03:03:21 +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
GameplayClock
but also applies the clock to all children.