Skip to content

Commit

Permalink
Use IList for NodeSamples
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Nov 3, 2021
1 parent ade4c10 commit 0a4e1f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Sentakki/Objects/Hold.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public class Hold : SentakkiLanedHitObject, IHasDuration
{
protected override bool NeedBreakSample => false;

private List<IList<HitSampleInfo>> nodeSamples = new List<IList<HitSampleInfo>>();
private IList<IList<HitSampleInfo>> nodeSamples = new List<IList<HitSampleInfo>>();

public List<IList<HitSampleInfo>> NodeSamples
public IList<IList<HitSampleInfo>> NodeSamples
{
get => nodeSamples;
set
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Sentakki/Objects/Slide.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public double Duration
set => throw new NotSupportedException();
}

public List<IList<HitSampleInfo>> NodeSamples = new List<IList<HitSampleInfo>>();
public IList<IList<HitSampleInfo>> NodeSamples = new List<IList<HitSampleInfo>>();

public double EndTime => StartTime + Duration;

Expand Down

0 comments on commit 0a4e1f7

Please sign in to comment.