2017-03-13 12:33:25 +00:00
|
|
|
|
// 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
|
|
|
|
|
{
|
2017-03-15 11:09:44 +00:00
|
|
|
|
public class Team : IHasDrawableRepresentation<Sprite>
|
2017-03-13 12:33:25 +00:00
|
|
|
|
{
|
|
|
|
|
public string Name;
|
2017-03-15 11:09:44 +00:00
|
|
|
|
public Texture Flag; // TODO: Replace this with something better
|
2017-03-13 12:33:25 +00:00
|
|
|
|
|
|
|
|
|
public Sprite CreateDrawable()
|
|
|
|
|
{
|
|
|
|
|
return new Sprite
|
|
|
|
|
{
|
2017-03-15 11:09:44 +00:00
|
|
|
|
Texture = Flag,
|
2017-03-13 12:33:25 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|