Fettle icon indicating copy to clipboard operation
Fettle copied to clipboard

Hierarchical state machine

Open wwadge opened this issue 11 years ago • 1 comments

(Opening up new issue discussed last time here).

Regarding hierarchical state machines, have a look at how android does it here: https://github.com/android/platform_frameworks_base/blob/master/core/java/com/android/internal/util/StateMachine.java

The code ain't very pretty but the comments at the start of the file indicate expected behaviour.

In the previous issue you suggested embedding this information in the state itself but this looks a bit hackish. It would be great to have a .childOf(...) in each state to more directly show what's going on.

wwadge avatar May 23 '13 10:05 wwadge

I will look into this.

thehiflyer avatar May 31 '13 14:05 thehiflyer