Super huge abstraction changes to (hopefully) make this TimingChangeContainer usable for non-mania rulesets.

Also includes commenting improvements/fixes.
This commit is contained in:
smoogipooo
2017-06-02 19:27:00 +09:00
parent 186fecca82
commit a4cd409835
11 changed files with 128 additions and 49 deletions

View File

@ -185,10 +185,10 @@ namespace osu.Game.Rulesets.Mania.UI
}
}
public double TimeSpan
public float TimeSpan
{
get { return timingChanges.TimeSpan; }
set { timingChanges.TimeSpan = value; }
get { return timingChanges.TimeSpan.Y; }
set { timingChanges.TimeSpan = new Vector2(1, value); }
}
public void Add(DrawableTimingChange timingChange) => timingChanges.Add(timingChange);