1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 09:02:58 +08:00

Rename DrawableCookieziRuleset to MockDrawableRuleset

This commit is contained in:
Ryuki 2022-08-11 01:03:47 +02:00
parent d58d5eebe2
commit 0e1efbd865
No known key found for this signature in database
GPG Key ID: A353889EAEACBF49

View File

@ -48,7 +48,7 @@ namespace osu.Game.Tests.Visual.Gameplay
CachedDependencies = new (Type, object)[]
{
(typeof(GameplayClock), mainClock = new MockFrameStableClock(new MockFrameBasedClock())),
(typeof(DrawableRuleset), new DrawableCookieziRuleset(ruleset, mainClock))
(typeof(DrawableRuleset), new MockDrawableRuleset(ruleset, mainClock))
}
},
};
@ -261,9 +261,9 @@ namespace osu.Game.Tests.Visual.Gameplay
public IBindable<bool> WaitingOnFrames => new Bindable<bool>();
}
private class DrawableCookieziRuleset : DrawableRuleset
private class MockDrawableRuleset : DrawableRuleset
{
public DrawableCookieziRuleset(Ruleset ruleset, IFrameStableClock clock)
public MockDrawableRuleset(Ruleset ruleset, IFrameStableClock clock)
: base(ruleset)
{
FrameStableClock = clock;