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

23
osu.Game/Users/Team.cs Normal file
View File

@ -0,0 +1,23 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Users
{
public class Team : IHasDrawableRepresentation<Sprite>
{
public string Name;
public Texture Flag; // TODO: Replace this with something better
public Sprite CreateDrawable()
{
return new Sprite
{
Texture = Flag,
};
}
}
}