Cleanup implementation of coop key mod

This is how I intended the functionality to be implemented.
This commit is contained in:
smoogipoo
2018-01-15 15:49:03 +09:00
parent 9f98983550
commit d2b1e27527
3 changed files with 21 additions and 23 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
/// <summary>
/// The definitions for each stage in a <see cref="ManiaPlayfield"/>.
/// </summary>
public readonly List<StageDefinition> Stages;
public List<StageDefinition> Stages = new List<StageDefinition>();
/// <summary>
/// Total number of columns represented by all stages in this <see cref="ManiaBeatmap"/>.
@ -24,10 +24,10 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
/// <summary>
/// Creates a new <see cref="ManiaBeatmap"/>.
/// </summary>
/// <param name="stages">The initial stages.</param>
public ManiaBeatmap(List<StageDefinition> stages)
/// <param name="defaultStage">The initial stages.</param>
public ManiaBeatmap(StageDefinition defaultStage)
{
Stages = stages;
Stages.Add(defaultStage);
}
}
}