mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 08:12:56 +08:00
Rename class and add xmldoc
This commit is contained in:
parent
a5f3418e56
commit
64a3c712aa
@ -123,7 +123,7 @@ namespace osu.Game.Tournament.Components
|
|||||||
|
|
||||||
if (!string.IsNullOrEmpty(mod))
|
if (!string.IsNullOrEmpty(mod))
|
||||||
{
|
{
|
||||||
AddInternal(new TournamentModDisplay(mod)
|
AddInternal(new TournamentModIcon(mod)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.CentreRight,
|
Anchor = Anchor.CentreRight,
|
||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreRight,
|
||||||
|
@ -14,16 +14,19 @@ using osuTK;
|
|||||||
|
|
||||||
namespace osu.Game.Tournament.Components
|
namespace osu.Game.Tournament.Components
|
||||||
{
|
{
|
||||||
public class TournamentModDisplay : CompositeDrawable
|
/// <summary>
|
||||||
|
/// Mod icon displayed in tournament usages, allowing user overridden graphics.
|
||||||
|
/// </summary>
|
||||||
|
public class TournamentModIcon : CompositeDrawable
|
||||||
{
|
{
|
||||||
private readonly string modAcronym;
|
private readonly string modAcronym;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private RulesetStore rulesets { get; set; }
|
private RulesetStore rulesets { get; set; }
|
||||||
|
|
||||||
public TournamentModDisplay(string mod)
|
public TournamentModIcon(string modAcronym)
|
||||||
{
|
{
|
||||||
modAcronym = mod;
|
this.modAcronym = modAcronym;
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
Loading…
Reference in New Issue
Block a user