2023-02-13 21:25:52 +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.
|
|
|
|
|
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Mods
|
|
|
|
{
|
2023-02-27 10:30:57 +00:00
|
|
|
public class TaikoModSingleTap : TaikoInputBlockingMod
|
2023-02-13 21:25:52 +00:00
|
|
|
{
|
|
|
|
public override string Name => @"Single Tap";
|
|
|
|
public override string Acronym => @"SG";
|
|
|
|
public override LocalisableString Description => @"You must only use one key!";
|
|
|
|
|
|
|
|
protected override bool CheckValidNewAction(TaikoAction action) => LastAcceptedDonAction == null || LastAcceptedDonAction == action || LastAcceptedKatAction == null || LastAcceptedKatAction == action;
|
|
|
|
}
|
|
|
|
}
|