mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Make a RulesetDatabase.
This commit is contained in:
@ -8,8 +8,8 @@ using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Database;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Modes;
|
||||
using OpenTK;
|
||||
|
||||
namespace osu.Game.Overlays.Toolbar
|
||||
@ -20,7 +20,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
public const float TOOLTIP_HEIGHT = 30;
|
||||
|
||||
public Action OnHome;
|
||||
public Action<Ruleset> OnRulesetChange;
|
||||
public Action<RulesetInfo> OnRulesetChange;
|
||||
|
||||
private readonly ToolbarModeSelector modeSelector;
|
||||
private readonly ToolbarUserArea userArea;
|
||||
@ -129,7 +129,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
}
|
||||
}
|
||||
|
||||
public void SetGameMode(Ruleset ruleset) => modeSelector.SetGameMode(ruleset);
|
||||
public void SetGameMode(RulesetInfo ruleset) => modeSelector.SetGameMode(ruleset);
|
||||
|
||||
protected override void PopIn()
|
||||
{
|
||||
|
Reference in New Issue
Block a user