2023-10-30 12:24:01 +00: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-02 21:20:17 +00:00
|
|
|
using System;
|
2023-11-06 09:14:56 +00:00
|
|
|
using osu.Framework.Graphics.Sprites;
|
2023-10-30 12:24:01 +00:00
|
|
|
using osu.Framework.Localisation;
|
2023-11-06 09:14:56 +00:00
|
|
|
using osu.Game.Graphics;
|
2023-10-30 12:24:01 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
{
|
2023-10-30 13:38:20 +00:00
|
|
|
public class ModTouchDevice : Mod, IApplicableMod
|
2023-10-30 12:24:01 +00:00
|
|
|
{
|
|
|
|
public sealed override string Name => "Touch Device";
|
|
|
|
public sealed override string Acronym => "TD";
|
2023-11-06 09:14:56 +00:00
|
|
|
public sealed override IconUsage? Icon => OsuIcon.PlayStyleTouch;
|
2023-10-30 12:24:01 +00: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-14 07:30:08 +00:00
|
|
|
public sealed override bool ValidForMultiplayer => false;
|
|
|
|
public sealed override bool ValidForMultiplayerAsFreeMod => false;
|
2023-11-02 18:25:57 +00:00
|
|
|
public sealed override bool AlwaysValidForSubmission => true;
|
2023-11-02 21:27:16 +00:00
|
|
|
public override Type[] IncompatibleMods => new[] { typeof(ICreateReplayData) };
|
2023-10-30 12:24:01 +00:00
|
|
|
}
|
|
|
|
}
|