mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Set object list to read-only
This commit is contained in:
parent
40f560d7d0
commit
d054e404da
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user