gnardini
10/10/2016, 5:57 AMfun dispatchAction(action: Action) {
val result : Pair<State, Command> = stateManager.update(state, action)
this.state = result.first
// TODO: Handle command
// TODO: Notify state changed
}