Reimplement important frames

This commit is contained in:
smoogipoo
2018-03-01 01:45:41 +09:00
parent fb16c3db87
commit 195b6642e6
4 changed files with 11 additions and 0 deletions

View File

@ -2,6 +2,7 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Input;
using osu.Game.Rulesets.Replays;
@ -14,6 +15,8 @@ namespace osu.Game.Rulesets.Mania.Replays
{
}
protected override bool IsImportant(ManiaReplayFrame frame) => frame.Actions.Any();
public override List<InputState> GetPendingStates() => new List<InputState> { new ReplayState<ManiaAction> { PressedActions = CurrentFrame.Actions } };
}
}