diff --git a/lib/tfw/fsm/linear_fsm.py b/lib/tfw/fsm/linear_fsm.py index cc5a0d1..e515d8f 100644 --- a/lib/tfw/fsm/linear_fsm.py +++ b/lib/tfw/fsm/linear_fsm.py @@ -12,7 +12,8 @@ class LinearFSM(FSMBase): This is a state machine for challenges with linear progression, consisting of a number of steps specified in the constructor. It automatically sets up 2 actions (triggers) between states as such: - (0) -- step_1 --> (1) -- step_2 --> (2) -- step_3 --> (3) ... and so on + (0) -- step_1 --> (1) -- step_2 --> (2) -- step_3 --> (3) ... + (0) -- step_next --> (1) -- step_next --> (2) -- step_next --> (3) ... """ def __init__(self, number_of_steps): self.states = [State(name=str(index)) for index in range(number_of_steps)]