Skip to content

Commit 5f0d3f5

Browse files
Update README.md
1 parent 5e1186b commit 5f0d3f5

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,11 @@ If you like or are using this project please give it a star. Thanks!
1010
# Why SimpleStateMachine?
1111
Create state machine in **three** steps :
1212

13-
**1.** Create scheme in [this node editor🔗](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) and load it in your project using [library📚](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary)
14-
```C#
15-
StateMachine stateMachine = new StateMachine("scheme.xml");
16-
```
17-
**2.** Describe your app logic on events⚡
18-
```C#
19-
stateMachine.GetState("State1").OnExit(Action1);
20-
stateMachine.GetState("State2").OnEntry(Action2);
21-
stateMachine.GetTransition("Transition1").OnInvoke(Action3);
22-
stateMachine.OnChangeState(Action4);
23-
```
24-
**3.** Run the state machine🚘
25-
```C#
26-
stateMachine.Start();
27-
```
13+
**1.** Create scheme in [this node editor🔗](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor)
14+
15+
**2.** Load scheme in your project using [library📚](https://github.com/SimpleStateMachine/SimpleStateMachineLibrary)
16+
17+
**3.** Describe your app logic and run the state machin🚘
2818

2919
## Features💡
3020
### Custom Window with Visual Studio design

0 commit comments

Comments
 (0)