mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08:00
Add logging for GameplayClockContainer
starting or stopping
This commit is contained in:
parent
09c6c5d79b
commit
57daaa7fed
@ -122,8 +122,17 @@ namespace osu.Game.Screens.Play
|
||||
StopGameplayClock();
|
||||
}
|
||||
|
||||
protected virtual void StartGameplayClock() => GameplayClock.Start();
|
||||
protected virtual void StopGameplayClock() => GameplayClock.Stop();
|
||||
protected virtual void StartGameplayClock()
|
||||
{
|
||||
Logger.Log($"{nameof(GameplayClockContainer)} started via call to {nameof(StartGameplayClock)}");
|
||||
GameplayClock.Start();
|
||||
}
|
||||
|
||||
protected virtual void StopGameplayClock()
|
||||
{
|
||||
Logger.Log($"{nameof(GameplayClockContainer)} stopped via call to {nameof(StopGameplayClock)}");
|
||||
GameplayClock.Stop();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Resets this <see cref="GameplayClockContainer"/> and the source to an initial state ready for gameplay.
|
||||
|
Loading…
Reference in New Issue
Block a user