BattleSpecification Constructor (Int32, Int64, Double, Boolean, BattlefieldSpecification,  RobotSpecification )Robocode Control API for .NET
Creates a new BattleSpecification with the given settings.

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

public BattleSpecification(
	int numRounds,
	long inactivityTime,
	double gunCoolingRate,
	bool hideEnemyNames,
	BattlefieldSpecification battlefieldSize,
	RobotSpecification[] robots
)

Parameters

numRounds
Type: OnlineSystem Int32
The number of rounds in this battle.
inactivityTime
Type: OnlineSystem Int64
The inactivity time allowed for the robots before they will loose energy.
gunCoolingRate
Type: OnlineSystem Double
The gun cooling rate for the robots.
hideEnemyNames
Type: OnlineSystem Boolean
Flag specifying if enemy names are hidden from robots.
battlefieldSize
Type: Robocode.Control BattlefieldSpecification
The battlefield size.
robots
Type:  Robocode.Control RobotSpecification 
The robots participating in this battle.
See Also