StateTransitionEvent

constructor(agentProcess: AgentProcess, newState: Any, previousState: Any? = null)

Parameters

newState

the new state instance

previousState

the previous state instance, or null if this is the initial state