Proper Public Method Case

- onFailCheck to OnFailCheck
This commit is contained in:
Brayzure 2017-11-20 20:49:31 -05:00
parent 6d74fd254c
commit 2b0295ed86
2 changed files with 4 additions and 4 deletions

View File

@ -11,14 +11,14 @@ namespace osu.Game.Rulesets.Mods
public override string ShortenedName => "PF";
public override string Description => "SS or quit.";
public bool onFailCheck(ScoreProcessor scoreProcessor)
public bool OnFailCheck(ScoreProcessor scoreProcessor)
{
return scoreProcessor.Accuracy.Value != 1;
}
public virtual void ApplyToScoreProcessor(ScoreProcessor scoreProcessor)
{
scoreProcessor.FailChecker += onFailCheck;
scoreProcessor.FailChecker += OnFailCheck;
}
}
}

View File

@ -18,14 +18,14 @@ namespace osu.Game.Rulesets.Mods
public override bool Ranked => true;
public override Type[] IncompatibleMods => new[] { typeof(ModNoFail), typeof(ModRelax), typeof(ModAutoplay) };
public bool onFailCheck(ScoreProcessor scoreProcessor)
public bool OnFailCheck(ScoreProcessor scoreProcessor)
{
return scoreProcessor.Combo.Value != scoreProcessor.HighestCombo.Value;
}
public virtual void ApplyToScoreProcessor(ScoreProcessor scoreProcessor)
{
scoreProcessor.FailChecker += onFailCheck;
scoreProcessor.FailChecker += OnFailCheck;
}
}
}