mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Applyable -> Applicable.
This commit is contained in:
@ -11,7 +11,7 @@ namespace osu.Game.Modes.Mods
|
||||
/// An interface for mods that are applied to a HitRenderer.
|
||||
/// </summary>
|
||||
/// <typeparam name="TObject">The type of HitObject the HitRenderer contains.</typeparam>
|
||||
public interface IApplyableMod<TObject>
|
||||
public interface IApplicableMod<TObject>
|
||||
where TObject : HitObject
|
||||
{
|
||||
/// <summary>
|
@ -149,7 +149,7 @@ namespace osu.Game.Modes.Mods
|
||||
public override Type[] IncompatibleMods => new[] { typeof(ModRelax), typeof(ModSuddenDeath), typeof(ModNoFail) };
|
||||
}
|
||||
|
||||
public abstract class ModAutoplay<T> : ModAutoplay, IApplyableMod<T>
|
||||
public abstract class ModAutoplay<T> : ModAutoplay, IApplicableMod<T>
|
||||
where T : HitObject
|
||||
{
|
||||
protected abstract Score CreateReplayScore(Beatmap<T> beatmap);
|
||||
|
@ -104,7 +104,7 @@ namespace osu.Game.Modes.UI
|
||||
|
||||
foreach (var mod in mods)
|
||||
{
|
||||
var applyable = mod as IApplyableMod<TObject>;
|
||||
var applyable = mod as IApplicableMod<TObject>;
|
||||
|
||||
applyable?.Apply(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user