mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Simplify implementation
This commit is contained in:
@ -39,8 +39,6 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
|
||||
private SkinnableDrawable scroller;
|
||||
|
||||
private DrumTouchInputArea drumTouchInputArea;
|
||||
|
||||
public DrawableTaikoRuleset(Ruleset ruleset, IBeatmap beatmap, IReadOnlyList<Mod> mods = null)
|
||||
: base(ruleset, beatmap, mods)
|
||||
{
|
||||
@ -59,8 +57,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
Depth = float.MaxValue
|
||||
});
|
||||
|
||||
if ((drumTouchInputArea = CreateDrumTouchInputArea()) != null)
|
||||
KeyBindingInputManager.Add(drumTouchInputArea);
|
||||
KeyBindingInputManager.Add(new DrumTouchInputArea());
|
||||
}
|
||||
|
||||
protected override void UpdateAfterChildren()
|
||||
@ -79,8 +76,6 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
return ControlPoints[result];
|
||||
}
|
||||
|
||||
public DrumTouchInputArea CreateDrumTouchInputArea() => new DrumTouchInputArea();
|
||||
|
||||
public override PlayfieldAdjustmentContainer CreatePlayfieldAdjustmentContainer() => new TaikoPlayfieldAdjustmentContainer
|
||||
{
|
||||
LockPlayfieldAspect = { BindTarget = LockPlayfieldAspect }
|
||||
|
Reference in New Issue
Block a user