Compare commits
5 Commits
d1d0b38371
...
f3870d5c50
Author | SHA1 | Date | |
---|---|---|---|
|
f3870d5c50 | ||
|
3c68f07f55 | ||
|
e004e92256 | ||
|
30c372b81a | ||
|
6e6a70d7fd |
2
pom.xml
2
pom.xml
@ -7,7 +7,7 @@
|
||||
|
||||
<groupId>me.bvn13.fsm</groupId>
|
||||
<artifactId>fsm</artifactId>
|
||||
<version>2.1.4</version>
|
||||
<version>2.1.5</version>
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
|
@ -103,10 +103,10 @@ import java.util.function.Supplier;
|
||||
*/
|
||||
public class Fsm<T extends Fsm, E> {
|
||||
|
||||
private boolean done = false;
|
||||
private State<E> initialState;
|
||||
private State<E> currentState;
|
||||
private State<E> previousState;
|
||||
protected boolean done = false;
|
||||
protected State<E> initialState;
|
||||
protected State<E> currentState;
|
||||
protected State<E> previousState;
|
||||
private final Map<String, State<E>> states = new HashMap<>();
|
||||
private final Map<String, Map<String, Condition<T, E>>> transitions = new HashMap<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user