音符のデータを格納するクラス
ClassNote.cs
//音符のデータをクラスにする。 public class Note { //曲が開始してから、いつ入力したら正なのかのタイミングデータ private float timingData; //何小節目か private byte barNumber; //音符の属性 private byte type; //データのセットはインスタンス化する時に行う。 Note(float noteTiming,byte noteBarNumber,byte noteType) { this.timingData = noteTiming; this.barNumber = noteBarNumber; this.type = noteType; } }