mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 13:17:22 +09:00
Remove AvailableMods
This commit is contained in:
parent
367d6d694c
commit
482be9f451
@ -8,8 +8,6 @@ using osu.Game.Modes.Objects;
|
|||||||
using osu.Game.Modes.Osu.UI;
|
using osu.Game.Modes.Osu.UI;
|
||||||
using osu.Game.Modes.UI;
|
using osu.Game.Modes.UI;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Overlays.Mods;
|
|
||||||
using OpenTK.Input;
|
|
||||||
|
|
||||||
namespace osu.Game.Modes.Catch
|
namespace osu.Game.Modes.Catch
|
||||||
{
|
{
|
||||||
@ -19,20 +17,6 @@ namespace osu.Game.Modes.Catch
|
|||||||
|
|
||||||
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new CatchHitRenderer { Beatmap = beatmap };
|
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new CatchHitRenderer { Beatmap = beatmap };
|
||||||
|
|
||||||
public override IEnumerable<Mod> AvailableMods => new Mod[]
|
|
||||||
{
|
|
||||||
new CatchModNoFail(),
|
|
||||||
new CatchModEasy(),
|
|
||||||
new CatchModHidden(),
|
|
||||||
new CatchModHardRock(),
|
|
||||||
new CatchModSuddenDeath(),
|
|
||||||
new CatchModDoubleTime(),
|
|
||||||
new CatchModRelax(),
|
|
||||||
new CatchModHalfTime(),
|
|
||||||
new CatchModNightcore(),
|
|
||||||
new CatchModFlashlight(),
|
|
||||||
};
|
|
||||||
|
|
||||||
public override IEnumerable<Mod> GetModsFor(ModType type)
|
public override IEnumerable<Mod> GetModsFor(ModType type)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
|
@ -8,8 +8,6 @@ using osu.Game.Modes.Objects;
|
|||||||
using osu.Game.Modes.Osu.UI;
|
using osu.Game.Modes.Osu.UI;
|
||||||
using osu.Game.Modes.UI;
|
using osu.Game.Modes.UI;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Overlays.Mods;
|
|
||||||
using OpenTK.Input;
|
|
||||||
|
|
||||||
namespace osu.Game.Modes.Mania
|
namespace osu.Game.Modes.Mania
|
||||||
{
|
{
|
||||||
@ -19,31 +17,6 @@ namespace osu.Game.Modes.Mania
|
|||||||
|
|
||||||
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new ManiaHitRenderer { Beatmap = beatmap };
|
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new ManiaHitRenderer { Beatmap = beatmap };
|
||||||
|
|
||||||
public override IEnumerable<Mod> AvailableMods => new Mod[]
|
|
||||||
{
|
|
||||||
new ManiaModNoFail(),
|
|
||||||
new ManiaModEasy(),
|
|
||||||
new ManiaModHidden(),
|
|
||||||
new ManiaModHardRock(),
|
|
||||||
new ManiaModSuddenDeath(),
|
|
||||||
new ManiaModDoubleTime(),
|
|
||||||
new ManiaModHalfTime(),
|
|
||||||
new ManiaModNightcore(),
|
|
||||||
new ManiaModFlashlight(),
|
|
||||||
new ManiaModFadeIn(),
|
|
||||||
new ManiaModRandom(),
|
|
||||||
new ManiaModKey1(),
|
|
||||||
new ManiaModKey2(),
|
|
||||||
new ManiaModKey3(),
|
|
||||||
new ManiaModKey4(),
|
|
||||||
new ManiaModKey5(),
|
|
||||||
new ManiaModKey6(),
|
|
||||||
new ManiaModKey7(),
|
|
||||||
new ManiaModKey8(),
|
|
||||||
new ManiaModKey9(),
|
|
||||||
new ManiaModKeyCoop(),
|
|
||||||
};
|
|
||||||
|
|
||||||
public override IEnumerable<Mod> GetModsFor(ModType type)
|
public override IEnumerable<Mod> GetModsFor(ModType type)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
|
@ -3,14 +3,12 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenTK.Input;
|
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Modes.Objects;
|
using osu.Game.Modes.Objects;
|
||||||
using osu.Game.Modes.Osu.Objects;
|
using osu.Game.Modes.Osu.Objects;
|
||||||
using osu.Game.Modes.Osu.UI;
|
using osu.Game.Modes.Osu.UI;
|
||||||
using osu.Game.Modes.UI;
|
using osu.Game.Modes.UI;
|
||||||
using osu.Game.Overlays.Mods;
|
|
||||||
|
|
||||||
namespace osu.Game.Modes.Osu
|
namespace osu.Game.Modes.Osu
|
||||||
{
|
{
|
||||||
@ -36,23 +34,6 @@ namespace osu.Game.Modes.Osu
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public override IEnumerable<Mod> AvailableMods => new Mod[]
|
|
||||||
{
|
|
||||||
new OsuModNoFail(),
|
|
||||||
new OsuModEasy(),
|
|
||||||
new OsuModHidden(),
|
|
||||||
new OsuModHardRock(),
|
|
||||||
new OsuModSuddenDeath(),
|
|
||||||
new OsuModDoubleTime(),
|
|
||||||
new OsuModRelax(),
|
|
||||||
new OsuModHalfTime(),
|
|
||||||
new OsuModNightcore(),
|
|
||||||
new OsuModFlashlight(),
|
|
||||||
new OsuModSpunOut(),
|
|
||||||
new OsuModAutopilot(),
|
|
||||||
new OsuModTarget(),
|
|
||||||
};
|
|
||||||
|
|
||||||
public override IEnumerable<Mod> GetModsFor(ModType type)
|
public override IEnumerable<Mod> GetModsFor(ModType type)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
|
@ -8,8 +8,6 @@ using osu.Game.Modes.Osu.UI;
|
|||||||
using osu.Game.Modes.Taiko.UI;
|
using osu.Game.Modes.Taiko.UI;
|
||||||
using osu.Game.Modes.UI;
|
using osu.Game.Modes.UI;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Overlays.Mods;
|
|
||||||
using OpenTK.Input;
|
|
||||||
|
|
||||||
namespace osu.Game.Modes.Taiko
|
namespace osu.Game.Modes.Taiko
|
||||||
{
|
{
|
||||||
@ -19,20 +17,6 @@ namespace osu.Game.Modes.Taiko
|
|||||||
|
|
||||||
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new TaikoHitRenderer { Beatmap = beatmap };
|
public override HitRenderer CreateHitRendererWith(Beatmap beatmap) => new TaikoHitRenderer { Beatmap = beatmap };
|
||||||
|
|
||||||
public override IEnumerable<Mod> AvailableMods => new Mod[]
|
|
||||||
{
|
|
||||||
new TaikoModNoFail(),
|
|
||||||
new TaikoModEasy(),
|
|
||||||
new TaikoModHidden(),
|
|
||||||
new TaikoModHardRock(),
|
|
||||||
new TaikoModSuddenDeath(),
|
|
||||||
new TaikoModDoubleTime(),
|
|
||||||
new TaikoModRelax(),
|
|
||||||
new TaikoModHalfTime(),
|
|
||||||
new TaikoModNightcore(),
|
|
||||||
new TaikoModFlashlight(),
|
|
||||||
};
|
|
||||||
|
|
||||||
public override IEnumerable<Mod> GetModsFor(ModType type)
|
public override IEnumerable<Mod> GetModsFor(ModType type)
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
|
@ -27,8 +27,6 @@ namespace osu.Game.Modes
|
|||||||
|
|
||||||
public virtual IEnumerable<BeatmapStatistic> GetBeatmapStatistics(WorkingBeatmap beatmap) => new BeatmapStatistic[] { };
|
public virtual IEnumerable<BeatmapStatistic> GetBeatmapStatistics(WorkingBeatmap beatmap) => new BeatmapStatistic[] { };
|
||||||
|
|
||||||
public abstract IEnumerable<Mod> AvailableMods { get; }
|
|
||||||
|
|
||||||
public abstract IEnumerable<Mod> GetModsFor(ModType type);
|
public abstract IEnumerable<Mod> GetModsFor(ModType type);
|
||||||
|
|
||||||
public abstract ScoreProcessor CreateScoreProcessor(int hitObjectCount);
|
public abstract ScoreProcessor CreateScoreProcessor(int hitObjectCount);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user