2023-10-30 20:24:01 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2023-11-03 05:20:17 +08:00
|
|
|
using System;
|
2023-11-06 17:14:56 +08:00
|
|
|
using osu.Framework.Graphics.Sprites;
|
2023-10-30 20:24:01 +08:00
|
|
|
using osu.Framework.Localisation;
|
2023-11-06 17:14:56 +08:00
|
|
|
using osu.Game.Graphics;
|
2023-10-30 20:24:01 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
{
|
2023-10-30 21:38:20 +08:00
|
|
|
public class ModTouchDevice : Mod, IApplicableMod
|
2023-10-30 20:24:01 +08:00
|
|
|
{
|
|
|
|
public sealed override string Name => "Touch Device";
|
|
|
|
public sealed override string Acronym => "TD";
|
2023-11-06 17:14:56 +08:00
|
|
|
public sealed override IconUsage? Icon => OsuIcon.PlayStyleTouch;
|
2023-10-30 20:24:01 +08:00
|
|
|
public sealed override LocalisableString Description => "Automatically applied to plays on devices with a touchscreen.";
|
|
|
|
public sealed override double ScoreMultiplier => 1;
|
|
|
|
public sealed override ModType Type => ModType.System;
|
2023-11-03 02:25:57 +08:00
|
|
|
public sealed override bool AlwaysValidForSubmission => true;
|
2023-11-03 05:27:16 +08:00
|
|
|
public override Type[] IncompatibleMods => new[] { typeof(ICreateReplayData) };
|
2023-10-30 20:24:01 +08:00
|
|
|
}
|
|
|
|
}
|