environmentSurrogateReducer
fun environmentSurrogateReducer(state: EnvironmentSurrogate<Any, PositionSurrogate>, action: Any): EnvironmentSurrogate<Any, PositionSurrogate>
Reducer for the environment surrogate.
Parameters
state
the current state.
action
the requested action.