Open huyinmiao opened 6 years ago
https://github.com/hekailiang/squirrel/blob/master/EXAMPLES.md check Decision State Machine
非常感谢提供的指导,这个有点复杂,定义了过多的事件,在实际业务流程中此处只有一个event(譬如一个按钮的点击),由context决定target state。
如果仅仅是通过context决定可以通过conditional transition实现
谢谢
like choice state, No need to use multiple transition can to reach different states。