1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-19 07:04:15 +08:00

Remove unused parameter for now

This commit is contained in:
smoogipoo 2017-11-30 21:58:41 +09:00
parent e8cbde3ae1
commit c0c051aa32
3 changed files with 5 additions and 15 deletions

View File

@ -106,9 +106,9 @@ namespace osu.Game.Rulesets.Edit
protected virtual RulesetContainer CreateRulesetContainer(Ruleset ruleset, WorkingBeatmap beatmap) => ruleset.CreateRulesetContainerWith(beatmap, true);
protected virtual PlayfieldUnderlay CreateUnderlay(Playfield playfield) => new PlayfieldUnderlay(playfield);
protected virtual PlayfieldUnderlay CreateUnderlay(Playfield playfield) => new PlayfieldUnderlay();
protected virtual PlayfieldOverlay CreateOverlay(Playfield playfield) => new PlayfieldOverlay(playfield);
protected virtual PlayfieldOverlay CreateOverlay(Playfield playfield) => new PlayfieldOverlay();
protected abstract IReadOnlyList<ICompositionTool> CompositionTools { get; }
}

View File

@ -3,22 +3,17 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Edit
{
public class PlayfieldOverlay : CompositeDrawable
{
private Playfield playfield;
public PlayfieldOverlay(Playfield playfield)
public PlayfieldOverlay()
{
this.playfield = playfield;
RelativeSizeAxes = Axes.Both;
}
}
}

View File

@ -3,18 +3,13 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Edit
{
public class PlayfieldUnderlay : CompositeDrawable
{
private readonly Playfield playfield;
public PlayfieldUnderlay(Playfield playfield)
public PlayfieldUnderlay()
{
this.playfield = playfield;
RelativeSizeAxes = Axes.Both;
}
}