process

abstract fun process(action: Action, game: Game): List<Event>

Processes an Action and returns a List of Events that are generated by the action.

Return

A List of Events that are generated by the action.

Parameters

action

The action to be processed.

game

The current game state.