Capitalised protected members, added readonly modifiers.

This commit is contained in:
Péter Nemes
2017-06-06 01:08:34 +02:00
parent f9441a7419
commit afb4443763
7 changed files with 37 additions and 37 deletions

View File

@ -13,10 +13,10 @@ namespace osu.Game.Rulesets.Osu.OsuDifficulty.Utils
/// </summary>
public class History<T> : IEnumerable<T>
{
public int Count { get; private set; } = 0;
public int Count { get; private set; }
private T[] array;
private int size;
private readonly T[] array;
private readonly int size;
private int marker; // Marks the position of the most recently added item.
public History(int size)