This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
Replace automatic ID with a given name #21
Closed
Description
Let the user of the API define a name and directly return the new state machine.
This allows us to remove the custom type IdMap
and hence simplifies the code.
Before:
val stateMachine = GuiStateMachineApi().createStateMachine()
After:
val stateMachine = GuiStateMachineApi().createStateMachine("test")