mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Badge -> Team
This commit is contained in:
23
osu.Game/Users/Team.cs
Normal file
23
osu.Game/Users/Team.cs
Normal 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,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user