当前位置:网站首页>State machine framework

State machine framework

2022-06-23 12:39:00 First wife ash yuanai

FSM - Fnite state machine( Finite state machine )
State nesting : Substate
1. Duplicate state names are not allowed
2. Simulate animation state machine
3. Conditions ( add to 、 Delete 、 modify 、 lookup )
4. Judge whether the transition state is satisfied
5. State event ( Enter the state of 、 In state 、 Out of state )


state ( Unlimited Nesting 、 State or state machine , The default state is normal )

Entering and leaving the state machine

Check whether the current state meets the transition conditions , Make a transition

Prevent update status binding errors

First step 、 Create a state machine and establish a containment relationship
The second step 、 Create a parameter 、 In order to set the conditions later
The third step 、 Create transition relationships between States
Step four 、 Set status events
Step five 、 Enter the total state machine

原网站

版权声明
本文为[First wife ash yuanai]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206231202150304.html