NoteDifficulty constructor
- SoundEvent event,
- int? measure,
- Map<
DifficultyTerm, double> terms
Implementation
NoteDifficulty(this.event, this.measure, this.terms)
: factor = kBaseFactor + terms.values.fold<double>(0, (s, v) => s + v);
NoteDifficulty(this.event, this.measure, this.terms)
: factor = kBaseFactor + terms.values.fold<double>(0, (s, v) => s + v);