Skip to content

Commit

Permalink
Fix class name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDark98 committed Jan 13, 2025
1 parent cca3ba6 commit d9182d9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
{
public static class FlashlightEvaluator
public static class ReadingEvaluator
{
private const double max_opacity_bonus = 0.4;
private const double hidden_bonus = 0.2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
{
public static class AimEvaluator
public static class SliderAimEvaluator
{
private const double wide_angle_multiplier = 1.5;
private const double acute_angle_multiplier = 2.6;
Expand Down
7 changes: 3 additions & 4 deletions osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.

using System;
using System.Linq;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
Expand All @@ -13,11 +12,11 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
/// <summary>
/// Represents the skill required to memorise and hit every object in a map with the Flashlight mod enabled.
/// </summary>
public class Flashlight : StrainSkill
public class Reading : StrainSkill
{
private readonly bool hasHiddenMod;

Check warning on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

The field 'Reading.hasHiddenMod' is never used

Check warning on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Build only (Android)

The field 'Reading.hasHiddenMod' is never used

Check warning on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

The field 'Reading.hasHiddenMod' is never used

Check warning on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Build only (iOS)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, SingleThread)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Code Quality

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Code Quality

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Windows, windows-latest, MultiThreaded)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, SingleThread)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

The field 'Reading.hasHiddenMod' is never used

Check failure on line 17 in osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs

View workflow job for this annotation

GitHub Actions / Test (Linux, ubuntu-latest, MultiThreaded)

The field 'Reading.hasHiddenMod' is never used

public Flashlight(Mod[] mods)
public Reading(Mod[] mods)
: base(mods)
{
}
Expand All @@ -34,7 +33,7 @@ public Flashlight(Mod[] mods)
protected override double StrainValueAt(DifficultyHitObject current)
{
currentStrain *= strainDecay(current.DeltaTime);
currentStrain += FlashlightEvaluator.EvaluateDifficultyOf(Mods, current) * skillMultiplier;
currentStrain += ReadingEvaluator.EvaluateDifficultyOf(Mods, current) * skillMultiplier;

return currentStrain;
}
Expand Down
6 changes: 3 additions & 3 deletions osu.Game.Rulesets.Osu/Difficulty/Skills/SliderAim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
/// <summary>
/// Represents the skill required to correctly aim at every object in the map with a uniform CircleSize and normalized distances.
/// </summary>
public class Aim : StrainSkill
public class SliderAim : StrainSkill
{
public Aim(Mod[] mods)
public SliderAim(Mod[] mods)
: base(mods)
{
}
Expand All @@ -31,7 +31,7 @@ public Aim(Mod[] mods)
protected override double StrainValueAt(DifficultyHitObject current)
{
currentStrain *= strainDecay(current.DeltaTime);
currentStrain += AimEvaluator.EvaluateDifficultyOf(Mods, current) * skillMultiplier;
currentStrain += SliderAimEvaluator.EvaluateDifficultyOf(Mods, current) * skillMultiplier;

return currentStrain;
}
Expand Down

0 comments on commit d9182d9

Please sign in to comment.