public CNote(CNote note) { _StartBeat = note._StartBeat; _Duration = note._Duration; _Tone = note._Tone; _NoteType = note._NoteType; _Text = note._Text; _Hit = note._Hit; _Perfect = note._Perfect; }
public CNote(int StartBeat, int Duration, int Tone, string Text, bool Hit, ENoteType NoteType) : this(StartBeat, Duration, Tone, Text) { this.NoteType = NoteType; this.Hit = Hit; }
private void ParseNote(int Player, ENoteType NoteType, int Start, int Length, int Tone, string Text) { CNote note = new CNote(Start, Length, Tone, Text, NoteType); CLines lines = this.Notes.GetLines(Player); if (lines.LineCount == 0) { CLine line = new CLine(); line.AddNote(note); lines.AddLine(line); } else { lines.AddNote(note, lines.LineCount - 1); } }
public void ExecuteAndNotify(IReadOnlyCollection <Note> selectedNotes, ENoteType type) { Execute(selectedNotes, type); songMetaChangeEventStream.OnNext(new NoteTypeChangeEvent()); }
public bool CanExecute(IReadOnlyCollection <Note> selectedNotes, ENoteType type) { return(selectedNotes.AnyMatch(note => note.Type != type)); }
public CSongNote(int startBeat, int duration, int tone, string text, ENoteType noteType) : base(startBeat, duration, tone) { Type = noteType; Text = text; }
public NoteBase(float in_time, int in_line, ENoteType in_type) { time = in_time; line = in_line; note_type = in_type; }