1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 05:22:54 +08:00

Allow dynamic recompilation of beatmap panel testcase

This commit is contained in:
Dean Herbert 2018-10-14 05:20:10 +09:00
parent a02caeef64
commit 0c4ea4beb1

View File

@ -1,6 +1,8 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
@ -21,6 +23,11 @@ namespace osu.Game.Tournament.Tests
[Resolved]
private RulesetStore rulesets { get; set; } = null;
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(TournamentBeatmapPanel),
};
[BackgroundDependencyLoader]
private void load()
{