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:
parent
0976e205d8
commit
3eece390cb
@ -74,7 +74,7 @@ namespace osu.Game.Modes.Objects.Drawables
|
||||
|
||||
public HitObjectType HitObject;
|
||||
|
||||
public DrawableHitObject(HitObjectType hitObject)
|
||||
protected DrawableHitObject(HitObjectType hitObject)
|
||||
{
|
||||
HitObject = hitObject;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -23,7 +23,7 @@ namespace osu.Game.Overlays.Options
|
||||
|
||||
private SpriteText headerLabel;
|
||||
|
||||
public OptionsSection()
|
||||
protected OptionsSection()
|
||||
{
|
||||
Margin = new MarginPadding { Top = 20 };
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
@ -15,7 +15,7 @@ namespace osu.Game.Overlays.Options
|
||||
|
||||
protected abstract string Header { get; }
|
||||
|
||||
public OptionsSubsection()
|
||||
protected OptionsSubsection()
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user