Move speed adjustment code from ManiaHitRenderer to SpeedAdjustedHitRenderer.

This commit is contained in:
smoogipooo
2017-06-15 19:25:54 +09:00
parent 6fd37ebc32
commit fda220acbc
4 changed files with 129 additions and 85 deletions

View File

@ -250,13 +250,16 @@ namespace osu.Game.Rulesets.UI
{
KeyConversionInputManager.Add(Playfield = CreatePlayfield());
loadObjects();
LoadObjects();
if (InputManager?.ReplayInputHandler != null)
InputManager.ReplayInputHandler.ToScreenSpace = Playfield.ScaledContent.ToScreenSpace;
}
private void loadObjects()
/// <summary>
/// Creates and adds drawable representations of hit objects to the play field.
/// </summary>
protected virtual void LoadObjects()
{
drawableObjects.Capacity = Beatmap.HitObjects.Count;