Forum: PogamutUT2004

New FSM Library Doubts

The new FSM Library is quiet different from the old one, and the Pogamut cookbook only describes the old one.

After looking at the Javadoc of the new FSM Library, I had a few doubts :

1. In the absence of FSMExecutor, how do we initialize the FSM? Is there an FSM.init() or FSM.step() function or something like that (I could not find such a function in the javadoc)

2. Do we implement the IFSMState interface, or use the annotations FSMState and FSMTransition. In case of the former, where would my transition information go? And in case of the latter, where would my state logic go?

Forgive me, I'm quiet new to Java Interfaces and Annotations, so I might be missing out on something obvious here.