VirtualStudentSession class
Properties
-
choice
→ VirtualStudentChoice
-
O que o diálogo escolheu (nível, chaves).
final
-
clock
→ AppClock
-
O relógio que anda o motorista a cada
kVirtualTickInterval (CT05e): no app,
o do aparelho; no teste de widget, um que o teste não anda.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
input
→ VirtualMidiInput
-
O teclado do aluno virtual: é ele que a tela entrega ao executor da rodada.
final
-
keyHi
→ int
-
no setter
-
keyLo
→ int
-
no setter
-
profile
→ StudentProfile
-
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
seed
→ int
-
A semente das decisões: a da escolha, ou uma sorteada agora. O
DiagLog a
registra.
final
Methods
-
begin()
→ void
-
Liga o aluno: a linha do início no
DiagLog, com o perfil, a semente e as
chaves. Quem chama é a tela, quando o diálogo devolve a escolha.
-
dispose()
→ void
-
"Parar", ou a tela que sai: para o motorista, para o
Timer e descarta o
teclado. O DiagLog registra o fim.
-
endRound()
→ void
-
A rodada acabou ou saiu (uma nova, "Parar"): solta as teclas que o aluno
segurava e deixa o motorista. O
Timer fica, para a próxima rodada.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
playRound({required ScoreRoundRunner runner, required SoundEngine engine})
→ void
-
A rodada
runner começou (já carregada e tocando): o motorista dela anda com
o relógio do motor engine. A latência do teclado é a do executor
(runner.inputLatencyMs), a mesma que o app subtrai ao avaliar.
-
toString()
→ String
-
A string representation of this object.
inherited