com.devbridie.wizardsandwarriors.dsl / rules
fun <CP : CommandParameters, E : Effect> rules(f: RulesBuilder<CP, E>.() -> Unit): List<Rule<CP, E>>
fun <CP :
CommandParameters
, E :
Effect
> rules(f:
RulesBuilder
<CP, E>.() ->
Unit
):
List
<
Rule
<CP, E>>
Builds a list of Rules using a DSL.
See Also