mirror of
https://github.com/ppy/osu
synced 2025-01-22 13:53:30 +00:00
Rename keys -> actions
This commit is contained in:
parent
dac54c362a
commit
a7e6efd34f
@ -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 } };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user