com.devbridie.wizardsandwarriors.dsl / RuleBuilder
class RuleBuilder<in CP :
CommandParameters
, out E :
Effect
>
Builds a Rule.
Name | Summary |
---|---|
<init> | RuleBuilder(applicable: CP.() -> Boolean , effect: CP.() -> E) Builds a Rule. |
Name | Summary |
---|---|
applicable | val applicable: CP.() -> Boolean |
effect | val effect: CP.() -> E |
Name | Summary |
---|---|
build | fun build(): Rule <CP, E> |