Add API retrieval support

This commit is contained in:
Dean Herbert
2017-09-14 20:05:43 +09:00
parent 9c4876d135
commit 98b847b025
8 changed files with 131 additions and 13 deletions

View File

@ -7,6 +7,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Users;
using OpenTK.Graphics;
namespace osu.Game.Overlays.Profile
@ -18,8 +19,17 @@ namespace osu.Game.Overlays.Profile
public abstract string Identifier { get; }
private readonly FillFlowContainer content;
protected override Container<Drawable> Content => content;
public virtual User User
{
get { return user; }
set { user = value; }
}
private User user;
protected ProfileSection()
{
Direction = FillDirection.Vertical;