C# Class Robocode.Control.BattlefieldSpecification

Datei anzeigen Open project: f13mash/roboyuddh Class Usage Examples

Public Methods

Method Description
BattlefieldSpecification ( ) : System

Creates a standard 800 x 600 battlefield.

BattlefieldSpecification ( int width, int height ) : System

Creates a battlefield of the specified width and height.

Method Details

BattlefieldSpecification() public method

Creates a standard 800 x 600 battlefield.
public BattlefieldSpecification ( ) : System
return System

BattlefieldSpecification() public method

Creates a battlefield of the specified width and height.
Thrown when the width or height is < 400 or > 5000. ///
public BattlefieldSpecification ( int width, int height ) : System
width int The width of the battlefield, where 400 >= width <= 5000.
height int The height of the battlefield, where 400 >= height <= 5000.
return System