com.devbridie.wizardsandwarriors.framework / System / executeCommand
protected fun <CP :
CommandParameters
, R :
Rule
<CP, E>, E :
Effect
> executeCommand(parameters: CP, rules:
List
<R>):
List
<E>
Executes a given command using CommandParameters and a list of Rules.
parameters
- CommandParameters that describe the circumstances of the command.
rules
- List of Rules that are associated with this command.
Return Effects that the rules produce.