mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Split out scrolling algorithm
This commit is contained in:
@ -99,19 +99,17 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
|
||||
|
||||
private class TestPlayfield : Playfield
|
||||
private class TestPlayfield : ScrollingPlayfield
|
||||
{
|
||||
public readonly BindableDouble TimeRange = new BindableDouble(5000);
|
||||
|
||||
public readonly ScrollingDirection Direction;
|
||||
|
||||
public new ScrollingHitObjectContainer HitObjects => (ScrollingHitObjectContainer)base.HitObjects;
|
||||
|
||||
public TestPlayfield(ScrollingDirection direction)
|
||||
: base(direction)
|
||||
{
|
||||
Direction = direction;
|
||||
|
||||
base.HitObjects = new ScrollingHitObjectContainer(direction);
|
||||
HitObjects.TimeRange.BindTo(TimeRange);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user