switch to changing Mod property

This commit is contained in:
mcendu
2020-01-14 20:11:32 +08:00
parent c08fc62e00
commit abdebcfddc
2 changed files with 10 additions and 4 deletions

View File

@ -34,7 +34,13 @@ namespace osu.Game.Rulesets.UI
public virtual string TooltipText { get; }
protected Mod Mod { get; set; }
private Mod mod;
public Mod Mod
{
get => mod;
set => mod = value;
}
public ModIcon(Mod mod)
{