BattleSpecification Constructor (Int32, BattlefieldSpecification,  RobotSpecification )Robocode Control API for .NET
Creates a new BattleSpecification with the given number of rounds, battlefield size, and robots. Inactivity time for the robots defaults to 450, and the gun cooling rate defaults to 0.1.

Namespace: Robocode.Control
Assembly: robocode.control (in robocode.control.dll) Version: 1.9.2.0
Syntax

public BattleSpecification(
	int numRounds,
	BattlefieldSpecification battlefieldSize,
	RobotSpecification[] robots
)

Parameters

numRounds
Type: OnlineSystem Int32
The number of rounds in this battle.
battlefieldSize
Type: Robocode.Control BattlefieldSpecification
The battlefield size.
robots
Type:  Robocode.Control RobotSpecification 
The robots participating in this battle.
See Also