playButtonReducer

fun playButtonReducer(simulationAction: Action, action: Any): Action

Reducer for the simulation play button.

Return

the new simulation play button state.

Parameters

simulationAction

the current simulation play button state.

action

the action to perform.