Vous êtes sur la page 1sur 1

State → Correct Button Mapping:

NewPicture with param Trash


Trash → TrashButton Game
Trash NewPicture with param
Trash [Eve in HeartOff]
Recycling → RecyclingButton
Compost → CompostButton
State → Incorrect Button Mapping:
Trash → CompostButton or RecyclingButton
Recycling → TrashButton or CompostButton
Compost → TrashButton or RecyclingButton
Correct Button (button matches state)
Post CorrectAnswer
to SoundService

NeedEVE WaitingForPicture

ResetButton

NotPlaying
GameLost or GameWon

IncorrectTimer Timeout
Post ChangeColorStatic with
param White to LEDStripService
NewPicture with param Recycling NewPicture with param
Init Recycling Recycling [Eve in HeartOff]

Incorrect Button (button doesn’t match state)


WrongEvent
-Post IncorrectAnswer to
SoundService and LEDStripService
-Start IncorrectTimer

NewPicture with param Compost NewPicture with param


Compost Compost [Eve in HeartOff]
WheelPauseTimer Timeout
-Post IncorrectAnswer to
SoundService and LEDStripService
-Start IncorrectTimer

Vous aimerez peut-être aussi