Creation Arguments
Properties
Allows the library to automatically call destroy() on current state owning machine instance if user tries to reuse its states in another machine. Usually this is a result of using object states in sequentially created similar machines. destroy() will be called on the previous machine instance. If set to false an exception will be thrown on state reuse attempt. Default: true
If set to true, when multiple transitions match event the first matching transition is selected. if set to false, when multiple transitions match event exception is thrown. Default: false
If set, enables incoming events recording in order to restore StateMachine later. By default, event recording is disabled. Use StateMachine.eventRecorder to access the recording result. Default: null
Enables Undo transition. Default: false
If enabled, throws exception on the machine start, if it contains states or transitions with null or blank names Default: false