Mark Webb wrote:
I have been trying to write a MINA system using the state machine
library. As I go through the documentation I think I found an error
that is confusing me. So either I am just simply confused or there is
an error :)
Looking at the diagram, I think the transition from "Paused" to
"Playing" should be "play". This would allow the @Transitions
annotation in TapeDeckHandler to make more sense, since this
annotation appears to support multiple @Transition annotations for one
state.
Your correct, there is an error there. IIRC, on those old tape decks,
you usually pressed Play once and then used the Pause button to
pause/unpause. In that case the diagram is correct and the code should
be changed. What do you think?
--
Niklas Therning
www.spamdrain.net