mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Convert everything to DI pattern
This commit is contained in:
@ -13,7 +13,8 @@ using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Primitives;
|
||||
using osu.Game.Database;
|
||||
using OpenTK;
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
|
||||
namespace osu.Game.Beatmaps.Drawable
|
||||
{
|
||||
class BeatmapGroup : Container, IStateful<BeatmapGroupState>
|
||||
@ -99,10 +100,9 @@ namespace osu.Game.Beatmaps.Drawable
|
||||
};
|
||||
}
|
||||
|
||||
protected override void Load(BaseGame game)
|
||||
[Initializer]
|
||||
private void Load(BaseGame game)
|
||||
{
|
||||
base.Load(game);
|
||||
|
||||
BeatmapPanels = beatmapSet.Beatmaps.Select(b => new BeatmapPanel(b)
|
||||
{
|
||||
GainedSelection = panelGainedSelection,
|
||||
|
Reference in New Issue
Block a user