mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:07:33 +08:00
Give EditorScreen a Beatmap
This commit is contained in:
parent
7211dd2015
commit
cf44868bcd
@ -118,6 +118,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
currentScreen.Beatmap.BindTo(Beatmap);
|
||||||
screenContainer.Add(currentScreen);
|
screenContainer.Add(currentScreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,13 +1,17 @@
|
|||||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
|
using osu.Framework.Configuration;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
|
using osu.Game.Beatmaps;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Edit.Screens
|
namespace osu.Game.Screens.Edit.Screens
|
||||||
{
|
{
|
||||||
public class EditorScreen : Container
|
public class EditorScreen : Container
|
||||||
{
|
{
|
||||||
|
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
|
||||||
|
|
||||||
protected override Container<Drawable> Content => content;
|
protected override Container<Drawable> Content => content;
|
||||||
private readonly Container content;
|
private readonly Container content;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user