2017-06-02 17:20:14 +08:00
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
2017-06-02 19:17:44 +08:00
|
|
|
using osu.Game.Rulesets.Timing;
|
|
|
|
|
2017-06-01 14:13:52 +08:00
|
|
|
namespace osu.Game.Rulesets.Mania.Timing.Drawables
|
|
|
|
{
|
2017-06-02 18:27:00 +08:00
|
|
|
public class DrawableScrollingTimingChange : DrawableManiaTimingChange
|
2017-06-01 14:13:52 +08:00
|
|
|
{
|
|
|
|
public DrawableScrollingTimingChange(TimingChange timingChange)
|
|
|
|
: base(timingChange)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override void Update()
|
|
|
|
{
|
|
|
|
base.Update();
|
|
|
|
|
|
|
|
Content.Y = (float)(TimingChange.Time - Time.Current);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|