C# Класс Robocode.Control.BattleSpecification

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

BattleSpecification() публичный Метод

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.
Результат System

BattleSpecification() публичный Метод

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.
Результат System