Closed RonRademaker closed 8 years ago
Nice! Any reason the dispatchTransitionEvent
is private over protected though?
I extend the StateMachine on one project to add some functionality.
Making methods and properties private allows you to refactor or change things in the future without breaking backwards compatibility. Unless there's a use case that'd require making the method protected I'd say it's good practice to make anything (that is not part of the public API of course) private.
Ah ok, thanks for the info :+1:
Seems good, thanks !
Hi,
I refactored the events part of the StateMachine a bit to address part of #105