Added lots of syntactic sugar for dealing with generic. Now the State & Transition classes can be avoided completly, and all the API is exposed through methods in the StateMachine itself. This allowed to make them inner classes, and get rid of all the generic obscurity.
Added lots of syntactic sugar for dealing with generic.
Now the State & Transition classes can be avoided completly, and all the API is exposed through methods in the StateMachine itself.
This allowed to make them inner classes, and get rid of all the generic obscurity.

OmerMor/StateMachineToolkit,OmerMor/StateMachineToolkit,OmerMor/StateMachineToolkit