mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 22:12:53 +08:00
Change FrameStableClock
to inherit IGameplayClock
This commit is contained in:
parent
5c2fb3e434
commit
6729bb3e1a
@ -22,7 +22,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Cached(typeof(IGameplayClock))]
|
[Cached(typeof(IGameplayClock))]
|
||||||
[Cached(typeof(IFrameStableClock))]
|
[Cached(typeof(IFrameStableClock))]
|
||||||
public sealed class FrameStabilityContainer : Container, IHasReplayHandler, IFrameStableClock, IGameplayClock
|
public sealed class FrameStabilityContainer : Container, IHasReplayHandler, IFrameStableClock
|
||||||
{
|
{
|
||||||
public ReplayInputHandler? ReplayInputHandler { get; set; }
|
public ReplayInputHandler? ReplayInputHandler { get; set; }
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Timing;
|
using osu.Game.Screens.Play;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.UI
|
namespace osu.Game.Rulesets.UI
|
||||||
{
|
{
|
||||||
public interface IFrameStableClock : IFrameBasedClock
|
public interface IFrameStableClock : IGameplayClock
|
||||||
{
|
{
|
||||||
IBindable<bool> IsCatchingUp { get; }
|
IBindable<bool> IsCatchingUp { get; }
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
|
|
||||||
public bool OnPressed(KeyBindingPressEvent<T> e)
|
public bool OnPressed(KeyBindingPressEvent<T> e)
|
||||||
{
|
{
|
||||||
calculator.AddTimestamp();
|
calculator.AddInputTimestamp();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user