C# Class Robocode.Control.BattleSpecification

ファイルを表示 Open project: f13mash/roboyuddh Class Usage Examples

Public Methods

Method Description
BattleSpecification ( int numRounds, BattlefieldSpecification battlefieldSize, Robocode.Control.RobotSpecification robots ) : System

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.

BattleSpecification ( int numRounds, long inactivityTime, double gunCoolingRate, BattlefieldSpecification battlefieldSize, Robocode.Control.RobotSpecification robots ) : System

Creates a new BattleSpecification with the given settings.

Method Details

BattleSpecification() public method

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.
public BattleSpecification ( int numRounds, BattlefieldSpecification battlefieldSize, Robocode.Control.RobotSpecification robots ) : System
numRounds int The number of rounds in this battle.
battlefieldSize BattlefieldSpecification The battlefield size.
robots Robocode.Control.RobotSpecification The robots participating in this battle.
return System

BattleSpecification() public method

Creates a new BattleSpecification with the given settings.
public BattleSpecification ( int numRounds, long inactivityTime, double gunCoolingRate, BattlefieldSpecification battlefieldSize, Robocode.Control.RobotSpecification robots ) : System
numRounds int The number of rounds in this battle.
inactivityTime long The inactivity time allowed for the robots before /// they will loose energy.
gunCoolingRate double The gun cooling rate for the robots.
battlefieldSize BattlefieldSpecification The battlefield size.
robots Robocode.Control.RobotSpecification The robots participating in this battle.
return System