File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
osu.Game.Rulesets.Rush/Mods Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
2
2
// See the LICENCE file in the repository root for full licence text.
3
3
4
+ using System.Collections.Generic;
4
5
using osu.Game.Beatmaps;
5
6
using osu.Game.Rulesets.Mods;
6
7
using osu.Game.Rulesets.Rush.Objects;
@@ -12,13 +13,10 @@ namespace osu.Game.Rulesets.Rush.Mods
12
13
{
13
14
public class RushModAutoplay : ModAutoplay<RushHitObject>
14
15
{
15
- public override Score CreateReplayScore(IBeatmap beatmap) => new Score
16
+ public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods ) => new Score
16
17
{
17
- ScoreInfo = new ScoreInfo
18
- {
19
- User = new User { Username = "Autoplay" },
20
- },
21
- Replay = new RushAutoGenerator(beatmap).Generate(),
18
+ ScoreInfo = new ScoreInfo { User = new User { Username = "Autoplay" } },
19
+ Replay = new RushAutoGenerator(beatmap).Generate()
22
20
};
23
21
}
24
22
}
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Shane Woolcock. Licensed under the MIT Licence.
2
2
// See the LICENCE file in the repository root for full licence text.
3
3
4
+ using System.Collections.Generic;
4
5
using osu.Game.Beatmaps;
5
6
using osu.Game.Rulesets.Mods;
6
7
using osu.Game.Rulesets.Rush.Objects;
@@ -12,7 +13,7 @@ namespace osu.Game.Rulesets.Rush.Mods
12
13
{
13
14
public class RushModCinema : ModCinema<RushHitObject>
14
15
{
15
- public override Score CreateReplayScore(IBeatmap beatmap) => new Score
16
+ public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods ) => new Score
16
17
{
17
18
ScoreInfo = new ScoreInfo { User = new User { Username = "Autoplay" } },
18
19
Replay = new RushAutoGenerator(beatmap).Generate()
You can’t perform that action at this time.
0 commit comments