Transition

constructor(currentState: S, event: E, nextState: S)