create

Creates a new BattleRunner with the supplied Kotlin DSL configuration.

Parameters

block

DSL block for configuring the runner


Creates a new BattleRunner with default configuration (embedded server on a dynamically assigned port).


Creates a new BattleRunner with the supplied Java consumer configuration. Defaults to embedded-server mode on a dynamically assigned port.

Java:

var runner = BattleRunner.create(b -> b.embeddedServer().enableIntentDiagnostics());

Parameters

configurer

consumer that configures the builder