1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-24 16:17:23 +08:00

Abstract constructors -> protected.

This commit is contained in:
Dean Herbert 2017-03-09 14:01:08 +09:00
parent 0976e205d8
commit 3eece390cb
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ namespace osu.Game.Modes.Objects.Drawables
public HitObjectType HitObject;
public DrawableHitObject(HitObjectType hitObject)
protected DrawableHitObject(HitObjectType hitObject)
{
HitObject = hitObject;
}

View File

@ -45,7 +45,7 @@ namespace osu.Game.Overlays.Notifications
public virtual bool Read { get; set; }
public Notification()
protected Notification()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;

View File

@ -23,7 +23,7 @@ namespace osu.Game.Overlays.Options
private SpriteText headerLabel;
public OptionsSection()
protected OptionsSection()
{
Margin = new MarginPadding { Top = 20 };
AutoSizeAxes = Axes.Y;

View File

@ -15,7 +15,7 @@ namespace osu.Game.Overlays.Options
protected abstract string Header { get; }
public OptionsSubsection()
protected OptionsSubsection()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;