NoteDifficulty class

A dificuldade de uma nota que o aluno toca (de uma das pautas dele).

Constructors

NoteDifficulty(SoundEvent event, int? measure, Map<DifficultyTerm, double> terms)

Properties

event → SoundEvent
A nota do PerformanceTrack (a mesma instância que a track tem).
final
factor → double
O fator: 1,0 mais a soma dos termos. Nunca menor que 1,0.
final
hashCode → int
The hash code for this object.
no setterinherited
measure → int?
O índice do compasso em DifficultyMap.measures; null fora dos compassos (ou sem compassos na chamada).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
terms → Map<DifficultyTerm, double>
Cada termo que a nota tem (os que valem: o que é zero pode faltar).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
term(DifficultyTerm t) → double
O valor de um termo (0 se a nota não o tem).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited