diff --git a/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs b/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs index ac18ae5a04..1aac2a758c 100644 --- a/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs +++ b/osu.Game/Modes/Objects/Drawables/DrawableHitObject.cs @@ -74,7 +74,7 @@ namespace osu.Game.Modes.Objects.Drawables public HitObjectType HitObject; - public DrawableHitObject(HitObjectType hitObject) + protected DrawableHitObject(HitObjectType hitObject) { HitObject = hitObject; } diff --git a/osu.Game/Overlays/Notifications/Notification.cs b/osu.Game/Overlays/Notifications/Notification.cs index 536a6a0a55..ea07d7806a 100644 --- a/osu.Game/Overlays/Notifications/Notification.cs +++ b/osu.Game/Overlays/Notifications/Notification.cs @@ -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; diff --git a/osu.Game/Overlays/Options/OptionsSection.cs b/osu.Game/Overlays/Options/OptionsSection.cs index fc61128a0d..25e891b5c9 100644 --- a/osu.Game/Overlays/Options/OptionsSection.cs +++ b/osu.Game/Overlays/Options/OptionsSection.cs @@ -23,7 +23,7 @@ namespace osu.Game.Overlays.Options private SpriteText headerLabel; - public OptionsSection() + protected OptionsSection() { Margin = new MarginPadding { Top = 20 }; AutoSizeAxes = Axes.Y; diff --git a/osu.Game/Overlays/Options/OptionsSubsection.cs b/osu.Game/Overlays/Options/OptionsSubsection.cs index f21c34fa21..82cf76b4c9 100644 --- a/osu.Game/Overlays/Options/OptionsSubsection.cs +++ b/osu.Game/Overlays/Options/OptionsSubsection.cs @@ -15,7 +15,7 @@ namespace osu.Game.Overlays.Options protected abstract string Header { get; } - public OptionsSubsection() + protected OptionsSubsection() { RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y;