1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 21:22:56 +08:00
osu-lazer/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableScrollingTimingChange.cs
2017-06-02 20:17:44 +09:00

22 lines
628 B
C#

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Timing;
namespace osu.Game.Rulesets.Mania.Timing.Drawables
{
public class DrawableScrollingTimingChange : DrawableManiaTimingChange
{
public DrawableScrollingTimingChange(TimingChange timingChange)
: base(timingChange)
{
}
protected override void Update()
{
base.Update();
Content.Y = (float)(TimingChange.Time - Time.Current);
}
}
}