Rename keys -> actions

This commit is contained in:
Dean Herbert 2017-08-24 20:30:18 +09:00
parent dac54c362a
commit a7e6efd34f

View File

@ -16,18 +16,18 @@ namespace osu.Game.Rulesets.Taiko.Replays
public override List<InputState> GetPendingStates()
{
var keys = new List<TaikoAction>();
var actions = new List<TaikoAction>();
if (CurrentFrame?.MouseRight1 == true)
keys.Add(TaikoAction.LeftCentre);
actions.Add(TaikoAction.LeftCentre);
if (CurrentFrame?.MouseRight2 == true)
keys.Add(TaikoAction.RightCentre);
actions.Add(TaikoAction.RightCentre);
if (CurrentFrame?.MouseLeft1 == true)
keys.Add(TaikoAction.LeftRim);
actions.Add(TaikoAction.LeftRim);
if (CurrentFrame?.MouseLeft2 == true)
keys.Add(TaikoAction.RightRim);
actions.Add(TaikoAction.RightRim);
return new List<InputState> { new ReplayState<TaikoAction> { PressedActions = keys } };
return new List<InputState> { new ReplayState<TaikoAction> { PressedActions = actions } };
}
}
}