AttackRole enum

O que o aluno precisa tocar num ataque esperado (EX10, seção 5).

Inheritance
Available extensions

Values

chord → const AttackRole

O acorde inteiro, na mão do ataque (checkPlayChord, em qualquer inversão).

degree → const AttackRole

Uma nota: o grau de ExpectedAttack.degree do acorde (1 é o baixo da cifra, ou a fundamental).

tone → const AttackRole

Uma nota qualquer do acorde, na mão do ataque (arpejo livre).

any → const AttackRole

Qualquer nota da mão: o ritmo importa, a nota não.

approach → const AttackRole

A nota que leva à fundamental seguinte (ExpectedAttack.target): meio tom ou tom acima ou abaixo dela, ou a 4ª/5ª justa (EX11, a regra 3 do walking-bass, de Rawlins).

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AttackRole>
A constant List of the values in this enum, in order of their declaration.