mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
CreateAutoplayReplay -> CreateAutoplayScore.
This commit is contained in:
parent
54945415c0
commit
5b4424d4fa
@ -33,7 +33,7 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
protected override Player CreatePlayer(WorkingBeatmap beatmap)
|
||||
{
|
||||
var player = base.CreatePlayer(beatmap);
|
||||
player.ReplayInputHandler = Ruleset.GetRuleset(beatmap.PlayMode).CreateAutoplayReplay(beatmap.Beatmap)?.Replay?.GetInputHandler();
|
||||
player.ReplayInputHandler = Ruleset.GetRuleset(beatmap.PlayMode).CreateAutoplayScore(beatmap.Beatmap)?.Replay?.GetInputHandler();
|
||||
return player;
|
||||
}
|
||||
}
|
||||
|
@ -105,14 +105,10 @@ namespace osu.Game.Modes.Osu
|
||||
|
||||
public override DifficultyCalculator CreateDifficultyCalculator(Beatmap beatmap) => new OsuDifficultyCalculator(beatmap);
|
||||
|
||||
public override Score CreateAutoplayReplay(Beatmap beatmap)
|
||||
public override Score CreateAutoplayScore(Beatmap beatmap)
|
||||
{
|
||||
var processor = CreateScoreProcessor();
|
||||
|
||||
var score = processor.GetScore();
|
||||
|
||||
var score = CreateScoreProcessor().GetScore();
|
||||
score.Replay = new OsuAutoReplay(beatmap);
|
||||
|
||||
return score;
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ namespace osu.Game.Modes
|
||||
|
||||
public virtual FontAwesome Icon => FontAwesome.fa_question_circle;
|
||||
|
||||
public virtual Score CreateAutoplayReplay(Beatmap beatmap) => null;
|
||||
public virtual Score CreateAutoplayScore(Beatmap beatmap) => null;
|
||||
|
||||
public static Ruleset GetRuleset(PlayMode mode)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user