public Result(Score.Detail detail) { just = cool = good = near = miss = note_point = 0; max_note_point = detail.Notes.Count(x => x.Type == NoteType.TapNote) * 50 + detail.Notes.Count(x => x.Type == NoteType.HoldNote) * 80 + detail.Notes.Count(x => x.Type == NoteType.SlideNote) * 10; combo = best_combo = 0; max_combo = detail.Notes.Count(); score = 0; }
public NoteLayer(Score.Detail detail) { Notes = new Queue <Note>(); foreach (var note_info in detail.Notes) { Notes.Enqueue(note_info.Instanciate()); } SofLans = new Queue <Note.SofLan>(); foreach (var note_info in detail.SofLans) { SofLans.Enqueue(note_info.Instanciate()); } }