mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 04:27:34 +08:00
a4cd409835
Also includes commenting improvements/fixes.
20 lines
593 B
C#
20 lines
593 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
|
|
|
|
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);
|
|
}
|
|
}
|
|
} |