BattlefieldSpecification Constructor (Int32, Int32)Robocode Control API for .NET
Creates a battlefield of the specified width and height.

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

public BattlefieldSpecification(
	int width,
	int height
)

Parameters

width
Type: OnlineSystem Int32
The width of the battlefield, where 400 <= width <= 5000.
height
Type: OnlineSystem Int32
The height of the battlefield, where 400 <= height <= 5000.
Exceptions

ExceptionCondition
OnlineSystem ArgumentExceptionThrown when the width or height is < 400 or > 5000.
See Also