using System; using System.Collections.Generic; namespace WacK.Data.Chart { public enum NoteEventType { Tempo, TimeSignature, ScrollSpeedMultiplier, BGAdd, BGRem, } /// /// Represents an unplayable event with some associated data value. /// /// The value's type. public class NoteEvent : Note { public NoteEventType type; /// /// A value whose function will vary depending on the type of note. /// public T value; public NoteEvent(double time, MeasureBeat measureBeat, NoteEventType type, int? position = null, int? size = null, T value = default(T)) : base(time, measureBeat, position, size) { this.value = value; this.type = type; } } }