mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Update clocks in line with framework changes
This commit is contained in:
parent
46acd807f7
commit
bf984388b3
@ -216,8 +216,6 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public double FramesPerSecond => finalClockSource.FramesPerSecond;
|
||||
|
||||
public FrameTimeInfo TimeInfo => finalClockSource.TimeInfo;
|
||||
|
||||
#endregion
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
|
@ -264,8 +264,6 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
public double FramesPerSecond => framedClock.FramesPerSecond;
|
||||
|
||||
public FrameTimeInfo TimeInfo => framedClock.TimeInfo;
|
||||
|
||||
public double StartTime => parentGameplayClock?.StartTime ?? 0;
|
||||
|
||||
private readonly AudioAdjustments gameplayAdjustments = new AudioAdjustments();
|
||||
|
@ -231,8 +231,6 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
public double FramesPerSecond => underlyingClock.FramesPerSecond;
|
||||
|
||||
public FrameTimeInfo TimeInfo => underlyingClock.TimeInfo;
|
||||
|
||||
public void ChangeSource(IClock source)
|
||||
{
|
||||
track.Value = source as Track;
|
||||
|
@ -234,7 +234,5 @@ namespace osu.Game.Screens.Play
|
||||
public double ElapsedFrameTime => GameplayClock.ElapsedFrameTime;
|
||||
|
||||
public double FramesPerSecond => GameplayClock.FramesPerSecond;
|
||||
|
||||
public FrameTimeInfo TimeInfo => GameplayClock.TimeInfo;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user