Method | Description | |
---|---|---|
BattleSpecification ( int numRounds, |
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, |
Creates a new BattleSpecification with the given settings.
|
public BattleSpecification ( int numRounds, |
||
numRounds | int | The number of rounds in this battle. |
battlefieldSize | The battlefield size. | |
robots | Robocode.Control.RobotSpecification | The robots participating in this battle. |
return | System |
public BattleSpecification ( int numRounds, long inactivityTime, double gunCoolingRate, |
||
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 | The battlefield size. | |
robots | Robocode.Control.RobotSpecification | The robots participating in this battle. |
return | System |