Finally I’ve done what I should have done ages ago, instead of writing layers (and layers) of abstraction over the pureMVC statemachine utility, I have just rewritten it.
So what I have done is to free it from any:
- framework dependencies,
- comms bus dependencies (events, signals, notifications),
- and data dependencies (for declaring the FSM).
My favourite is the Signal StateMachine for Robotlegs