Make ModelInfo and abstract class constructor protected

- Implementing classes would be better off exposing it if necessary under a different name
This commit is contained in:
naoey
2019-06-12 00:47:02 +05:30
parent 7495bc5d3a
commit ba6546038c
2 changed files with 2 additions and 4 deletions

View File

@ -2,11 +2,9 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.Online.API;
@ -19,7 +17,7 @@ namespace osu.Game.Online
where TModel : class, IEquatable<TModel>
where TModelManager : class, IModelDownloader<TModel>
{
public readonly Bindable<TModel> ModelInfo = new Bindable<TModel>();
protected readonly Bindable<TModel> ModelInfo = new Bindable<TModel>();
private TModelManager manager;