private void advance() { hasMore = enumerator.MoveNext(); if (hasMore) { time = (int)enumerator.Current / 1000f; } hasMore = enumerator.MoveNext(); if (hasMore) { column = (int)enumerator.Current; } hasMore = enumerator.MoveNext(); if (hasMore) { fraction = (int) enumerator.Current; } type = NotesScript.NotesType.TAP; // TODO - taps only }
public void next(out float time, out int column, out int fraction, out NotesScript.NotesType type) { time = this.time; column = this.column; fraction = this.fraction; type = this.type; advance(); }