Builder
class Builder
Builder for creating a BattleSetup from a preset with optional field overrides. All fields are pre-populated with preset defaults and may be freely overridden.
Properties
Link copied to clipboard
Arena height in pixels.
Link copied to clipboard
Arena width in pixels.
Link copied to clipboard
Default TPS for the battle; -1 means max speed (no throttle).
Link copied to clipboard
Rate at which gun heat decreases per turn.
Link copied to clipboard
Maximum consecutive turns allowed without bot activity before the bot is penalized.
Link copied to clipboard
Maximum number of bots allowed, or null for no upper limit.
Link copied to clipboard
Minimum number of bots required to start the battle.
Link copied to clipboard
Number of rounds to play.
Link copied to clipboard
Deadline for bots to signal ready at round start, in microseconds.
Link copied to clipboard
Per-turn deadline for bots to submit their intent, in microseconds.