// Copyright (c) 2007-2018 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Graphics; using System; namespace osu.Game.Rulesets.Mods { /// /// The base class for gameplay modifiers. /// public abstract class Mod { /// /// The name of this mod. /// public abstract string Name { get; } /// /// The shortened name of this mod. /// public abstract string ShortenedName { get; } /// /// The icon of this mod. /// public virtual FontAwesome Icon => FontAwesome.fa_question; /// /// The type of this mod. /// public virtual ModType Type => ModType.Fun; /// /// The user readable description of this mod. /// public virtual string Description => string.Empty; /// /// The score multiplier of this mod. /// public abstract double ScoreMultiplier { get; } /// /// Returns true if this mod is implemented (and playable). /// public virtual bool HasImplementation => this is IApplicableMod; /// /// Returns if this mod is ranked. /// public virtual bool Ranked => false; /// /// The mods this mod cannot be enabled with. /// public virtual Type[] IncompatibleMods => new Type[] { }; } }