osu/osu.Game.Rulesets.Mania/Mods/ManiaMod.cs

148 lines
3.9 KiB
C#
Raw Normal View History

2017-03-02 00:57:33 +00:00
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Graphics;
2017-04-18 07:05:58 +00:00
using osu.Game.Rulesets.Mods;
using System;
2017-03-02 00:57:33 +00:00
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Mania.Mods
2017-03-02 00:57:33 +00:00
{
public class ManiaModNoFail : ModNoFail
{
}
public class ManiaModEasy : ModEasy
{
}
public class ManiaModHidden : ModHidden
{
public override string Description => @"The notes fade out before you hit them!";
public override double ScoreMultiplier => 1.0;
public override Type[] IncompatibleMods => new[] { typeof(ModFlashlight) };
2017-03-02 00:57:33 +00:00
}
public class ManiaModHardRock : ModHardRock
{
public override double ScoreMultiplier => 1.0;
}
public class ManiaModSuddenDeath : ModSuddenDeath
{
}
public class ManiaModDoubleTime : ModDoubleTime
{
public override double ScoreMultiplier => 1.0;
}
public class ManiaModHalfTime : ModHalfTime
{
public override double ScoreMultiplier => 0.3;
}
public class ManiaModNightcore : ModNightcore
{
public override double ScoreMultiplier => 1.0;
}
public class ManiaModFlashlight : ModFlashlight
{
public override double ScoreMultiplier => 1.0;
public override Type[] IncompatibleMods => new[] { typeof(ModHidden) };
2017-03-02 00:57:33 +00:00
}
public class ManiaModPerfect : ModPerfect
{
}
2017-03-02 00:57:33 +00:00
public class ManiaModFadeIn : Mod
{
public override string Name => "FadeIn";
2017-03-02 00:57:33 +00:00
public override FontAwesome Icon => FontAwesome.fa_osu_mod_hidden;
public override double ScoreMultiplier => 1;
public override bool Ranked => true;
public override Type[] IncompatibleMods => new[] { typeof(ModFlashlight) };
2017-03-02 00:57:33 +00:00
}
public class ManiaModRandom : Mod
{
public override string Name => "Random";
2017-03-02 00:57:33 +00:00
public override string Description => @"Shuffle around the notes!";
public override double ScoreMultiplier => 1;
}
public abstract class ManiaKeyMod : Mod
{
public abstract int KeyCount { get; }
public override double ScoreMultiplier => 1; // TODO: Implement the mania key mod score multiplier
public override bool Ranked => true;
}
public class ManiaModKey1 : ManiaKeyMod
{
public override int KeyCount => 1;
public override string Name => "1K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey2 : ManiaKeyMod
{
public override int KeyCount => 2;
public override string Name => "2K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey3 : ManiaKeyMod
{
public override int KeyCount => 3;
public override string Name => "3K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey4 : ManiaKeyMod
{
public override int KeyCount => 4;
public override string Name => "4K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey5 : ManiaKeyMod
{
public override int KeyCount => 5;
public override string Name => "5K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey6 : ManiaKeyMod
{
public override int KeyCount => 6;
public override string Name => "6K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey7 : ManiaKeyMod
{
public override int KeyCount => 7;
public override string Name => "7K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey8 : ManiaKeyMod
{
public override int KeyCount => 8;
public override string Name => "8K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKey9 : ManiaKeyMod
{
public override int KeyCount => 9;
public override string Name => "9K";
2017-03-02 00:57:33 +00:00
}
public class ManiaModKeyCoop : Mod
{
public override string Name => "KeyCoop";
2017-03-02 00:57:33 +00:00
public override string Description => @"Double the key amount, double the fun!";
public override double ScoreMultiplier => 1;
public override bool Ranked => true;
}
}