mirror of
https://github.com/ppy/osu
synced 2025-03-01 09:01:22 +00:00
# Conflicts: # osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNote.cs # osu.Game.Rulesets.Mania/UI/ManiaPlayfield.cs # osu.Game.Rulesets.Mania/UI/ManiaRulesetContainer.cs # osu.Game.Rulesets.Mania/UI/ManiaStage.cs
31 lines
940 B
C#
31 lines
940 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Graphics;
|
|
using OpenTK;
|
|
using osu.Framework.Graphics.Cursor;
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.Rulesets.Mania.UI;
|
|
using osu.Game.Rulesets.UI;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Edit
|
|
{
|
|
public class ManiaEditRulesetContainer : ManiaRulesetContainer
|
|
{
|
|
public ManiaEditRulesetContainer(Ruleset ruleset, WorkingBeatmap beatmap)
|
|
: base(ruleset, beatmap)
|
|
{
|
|
}
|
|
|
|
protected override Playfield CreatePlayfield() => new ManiaEditPlayfield(ScrollingInfo.Direction.Value, Beatmap.Stages)
|
|
{
|
|
Anchor = Anchor.Centre,
|
|
Origin = Anchor.Centre,
|
|
};
|
|
|
|
protected override Vector2 PlayfieldArea => Vector2.One;
|
|
|
|
protected override CursorContainer CreateCursor() => null;
|
|
}
|
|
}
|