1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-09 17:44:46 +09:00

Remove now unused arguments

This commit is contained in:
smoogipoo 2018-05-14 18:52:01 +09:00
parent b08440d26f
commit b9f0f728b1
3 changed files with 6 additions and 9 deletions

View file

@ -11,7 +11,6 @@ using osu.Game.Rulesets.Catch;
using osu.Game.Rulesets.Mania; using osu.Game.Rulesets.Mania;
using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko; using osu.Game.Rulesets.Taiko;
namespace PerformanceCalculator.Difficulty namespace PerformanceCalculator.Difficulty
@ -25,7 +24,7 @@ namespace PerformanceCalculator.Difficulty
this.command = command; this.command = command;
} }
protected override void Execute(BeatmapManager beatmaps, ScoreStore scores) protected override void Execute()
{ {
var beatmap = new ProcessorWorkingBeatmap(command.Beatmap); var beatmap = new ProcessorWorkingBeatmap(command.Beatmap);

View file

@ -22,7 +22,7 @@ namespace PerformanceCalculator.Performance
private Ruleset ruleset; private Ruleset ruleset;
protected override void Execute(BeatmapManager beatmaps, ScoreStore scores) protected override void Execute()
{ {
var workingBeatmap = new ProcessorWorkingBeatmap(command.Beatmap); var workingBeatmap = new ProcessorWorkingBeatmap(command.Beatmap);
var scoreParser = new ProcessorScoreParser(workingBeatmap); var scoreParser = new ProcessorScoreParser(workingBeatmap);

View file

@ -4,20 +4,18 @@
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Platform; using osu.Framework.Platform;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Scoring;
namespace PerformanceCalculator namespace PerformanceCalculator
{ {
public abstract class Processor : Component public abstract class Processor : Component
{ {
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(BeatmapManager beatmaps, ScoreStore scores, GameHost host) private void load(GameHost host)
{ {
Execute(beatmaps, scores); Execute();
host.Exit(); host.Exit();
} }
protected abstract void Execute(BeatmapManager beatmaps, ScoreStore scores); protected abstract void Execute();
} }
} }