Badge -> Team

This commit is contained in:
DrabWeb
2017-03-15 08:09:44 -03:00
parent 56868e3c06
commit 7572947214
5 changed files with 9 additions and 5 deletions

View File

@ -7,16 +7,16 @@ using osu.Game.Graphics.UserInterface;
namespace osu.Game.Users
{
public class Badge : IHasDrawableRepresentation<Sprite>
public class Team : IHasDrawableRepresentation<Sprite>
{
public string Name;
public Texture Texture; // TODO: Replace this with something better
public Texture Flag; // TODO: Replace this with something better
public Sprite CreateDrawable()
{
return new Sprite
{
Texture = Texture,
Texture = Flag,
};
}
}

View File

@ -10,6 +10,6 @@ namespace osu.Game.Users
public int Id;
public string Username;
public Region Region;
public IEnumerable<Badge> Badges;
public Team Team;
}
}