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-10-30 20:24:01 +08:00
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
|
|
|
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";
|
|
|
|
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:20:17 +08:00
|
|
|
public sealed override Type[] IncompatibleMods => new[] { typeof(ICreateReplayData) };
|
2023-10-30 20:24:01 +08:00
|
|
|
}
|
|
|
|
}
|