mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:22:57 +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))
|
||||
{
|
||||
AddInternal(new TournamentModDisplay(mod)
|
||||
AddInternal(new TournamentModIcon(mod)
|
||||
{
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreRight,
|
||||
|
@ -14,16 +14,19 @@ using osuTK;
|
||||
|
||||
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;
|
||||
|
||||
[Resolved]
|
||||
private RulesetStore rulesets { get; set; }
|
||||
|
||||
public TournamentModDisplay(string mod)
|
||||
public TournamentModIcon(string modAcronym)
|
||||
{
|
||||
modAcronym = mod;
|
||||
this.modAcronym = modAcronym;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
Loading…
Reference in New Issue
Block a user