public bool hasSameNotes (Beat other) { if (notes.Count != other.notes.Count) { return false; } for (int i = 0; i < notes.Count; ++i) { if (notes[i].tap != other.notes[i].tap) { return false; } } return true; }
public static Beat Parse (string raw) { Beat result = new Beat(); foreach (char c in raw) { result.notes.Add(NoteFactory.Instance.GetNote(c)); } return result; }