/// <summary> /// Creates a ChartNote with a valid location, duration and note column. /// </summary> /// <param name="inTickValue"> /// The tick value (location) associated with the new BPM change. /// </param> /// <param name="inDuration"> /// The duration of the new note. /// </param> /// <param name="noteColumn"> /// Note to add (0 = green, 4 = orange). /// </param> public Note(uint inTickValue, int inDuration, int noteColumn) { timeValue = 0; tickValue = inTickValue; Duration = inDuration; noteType = new NoteType(); addNote(noteColumn); }
/// <summary> /// Default constructor. /// </summary> public Note() { timeValue = 0; tickValue = 0; Duration = 0; noteType = new NoteType(); isHOPO = false; isChord = false; noteType.Green = false; noteType.Red = false; noteType.Yellow = false; noteType.Blue = false; noteType.Orange = false; noteType.SP = false; }