Add more ToString output

This commit is contained in:
Dean Herbert
2018-07-19 18:43:11 +09:00
parent 332c62f110
commit 693ba8e994
2 changed files with 4 additions and 0 deletions

View File

@ -25,5 +25,7 @@ namespace osu.Game.Rulesets
public virtual Ruleset CreateInstance() => (Ruleset)Activator.CreateInstance(Type.GetType(InstantiationInfo), this);
public bool Equals(RulesetInfo other) => other != null && ID == other.ID && Available == other.Available && Name == other.Name && InstantiationInfo == other.InstantiationInfo;
public override string ToString() => $"{Name} ({ShortName}) ID: {ID}";
}
}