The StateMachine class is really all you need for an abstract state machine.
statemachine类实际上正是抽象状态机所需要的。
youdao
To actually use the StateMachine class, you need to create some handlers for each state you want to use.
要真正使用statemachine类,需要为每个要使用的状态创建一些处理程序。
应用推荐
模块上移
模块下移
不移动