1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-06 08:12:55 +08:00

Applyable -> Applicable.

This commit is contained in:
smoogipooo 2017-03-14 12:32:31 +09:00
parent 2756d5f09f
commit bc5912eab5
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ namespace osu.Game.Modes.Mods
/// An interface for mods that are applied to a HitRenderer. /// An interface for mods that are applied to a HitRenderer.
/// </summary> /// </summary>
/// <typeparam name="TObject">The type of HitObject the HitRenderer contains.</typeparam> /// <typeparam name="TObject">The type of HitObject the HitRenderer contains.</typeparam>
public interface IApplyableMod<TObject> public interface IApplicableMod<TObject>
where TObject : HitObject where TObject : HitObject
{ {
/// <summary> /// <summary>

View File

@ -149,7 +149,7 @@ namespace osu.Game.Modes.Mods
public override Type[] IncompatibleMods => new[] { typeof(ModRelax), typeof(ModSuddenDeath), typeof(ModNoFail) }; 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 where T : HitObject
{ {
protected abstract Score CreateReplayScore(Beatmap<T> beatmap); protected abstract Score CreateReplayScore(Beatmap<T> beatmap);

View File

@ -104,7 +104,7 @@ namespace osu.Game.Modes.UI
foreach (var mod in mods) foreach (var mod in mods)
{ {
var applyable = mod as IApplyableMod<TObject>; var applyable = mod as IApplicableMod<TObject>;
applyable?.Apply(this); applyable?.Apply(this);
} }

View File

@ -91,7 +91,7 @@
<Compile Include="IO\Legacy\SerializationWriter.cs" /> <Compile Include="IO\Legacy\SerializationWriter.cs" />
<Compile Include="IPC\ScoreIPCChannel.cs" /> <Compile Include="IPC\ScoreIPCChannel.cs" />
<Compile Include="Modes\LegacyReplay.cs" /> <Compile Include="Modes\LegacyReplay.cs" />
<Compile Include="Modes\Mods\IApplyableMod.cs" /> <Compile Include="Modes\Mods\IApplicableMod.cs" />
<Compile Include="Modes\Mods\ModType.cs" /> <Compile Include="Modes\Mods\ModType.cs" />
<Compile Include="Modes\Objects\Drawables\IDrawableHitObjectWithProxiedApproach.cs" /> <Compile Include="Modes\Objects\Drawables\IDrawableHitObjectWithProxiedApproach.cs" />
<Compile Include="Modes\Objects\HitObjectParser.cs" /> <Compile Include="Modes\Objects\HitObjectParser.cs" />