mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Privatise the OsuGame beatmap, add local beatmap to OsuTestCase
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
private RulesetContainer rulesetContainer;
|
||||
private readonly List<Container> layerContainers = new List<Container>();
|
||||
|
||||
private readonly Bindable<WorkingBeatmap> beatmap = new Bindable<WorkingBeatmap>();
|
||||
private readonly IBindable<WorkingBeatmap> beatmap = new Bindable<WorkingBeatmap>();
|
||||
|
||||
protected HitObjectComposer(Ruleset ruleset)
|
||||
{
|
||||
@ -38,9 +38,9 @@ namespace osu.Game.Rulesets.Edit
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuGameBase osuGame, IFrameBasedClock framedClock)
|
||||
private void load(IGameBeatmap beatmap, IFrameBasedClock framedClock)
|
||||
{
|
||||
beatmap.BindTo(osuGame.Beatmap);
|
||||
this.beatmap.BindTo(beatmap);
|
||||
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user