-IHasDrawableRepresentation, User.Region -> Country

This commit is contained in:
DrabWeb
2017-03-19 00:09:58 -03:00
parent 0bc8ed9c9e
commit b0e7296e25
7 changed files with 18 additions and 41 deletions

View File

@ -10,7 +10,7 @@ using osu.Game.Graphics.UserInterface;
namespace osu.Game.Users
{
public class Country : IHasDrawableRepresentation<DrawableFlag>
public class Country
{
/// <summary>
/// The name of this country.
@ -26,11 +26,6 @@ namespace osu.Game.Users
/// Two-letter flag acronym (ISO 3166 standard)
/// </summary>
public string FlagName;
public DrawableFlag CreateDrawable()
{
return new DrawableFlag(FlagName);
}
}
public class DrawableFlag : Container