mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Make KeyBindingContainer
public
This commit is contained in:
parent
9ed7139582
commit
dec1f31749
@ -13,11 +13,6 @@ namespace osu.Game.Rulesets.Mania
|
||||
: base(ruleset, variant, SimultaneousBindingMode.Unique)
|
||||
{
|
||||
}
|
||||
|
||||
public RulesetKeyBindingContainer GetKeyBindingContainer()
|
||||
{
|
||||
return (RulesetKeyBindingContainer)KeyBindingContainer;
|
||||
}
|
||||
}
|
||||
|
||||
public enum ManiaAction
|
||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Mania.UI.Components
|
||||
|
||||
private ManiaInputManager.RulesetKeyBindingContainer getKeyBindingContainer()
|
||||
{
|
||||
return keyBindingContainer ??= ((ManiaInputManager)GetContainingInputManager()).GetKeyBindingContainer();
|
||||
return keyBindingContainer ??= (ManiaInputManager.RulesetKeyBindingContainer)((ManiaInputManager)GetContainingInputManager()).KeyBindingContainer;
|
||||
}
|
||||
|
||||
protected override bool OnTouchDown(TouchDownEvent e)
|
||||
|
@ -43,7 +43,7 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
protected override InputState CreateInitialState() => new RulesetInputManagerInputState<T>(base.CreateInitialState());
|
||||
|
||||
protected readonly KeyBindingContainer<T> KeyBindingContainer;
|
||||
public readonly KeyBindingContainer<T> KeyBindingContainer;
|
||||
|
||||
protected override Container<Drawable> Content => content;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user