mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 01:10:20 +08:00
Set object list to read-only
This commit is contained in:
@@ -11,7 +11,7 @@ namespace osu.Game.Rulesets.Difficulty.Preprocessing
|
||||
/// </summary>
|
||||
public class DifficultyHitObject
|
||||
{
|
||||
private readonly List<DifficultyHitObject> difficultyHitObjects;
|
||||
private readonly IReadOnlyList<DifficultyHitObject> difficultyHitObjects;
|
||||
|
||||
/// <summary>
|
||||
/// The position of this <see cref="DifficultyHitObject"/> in the <see cref="difficultyHitObjects"/> list.
|
||||
|
||||
Reference in New Issue
Block a user