mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Badge -> Team
This commit is contained in:
@ -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,
|
||||
};
|
||||
}
|
||||
}
|
@ -10,6 +10,6 @@ namespace osu.Game.Users
|
||||
public int Id;
|
||||
public string Username;
|
||||
public Region Region;
|
||||
public IEnumerable<Badge> Badges;
|
||||
public Team Team;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user