C# 클래스 Robocode.Control.BattleSpecification

파일 보기 프로젝트 열기: f13mash/roboyuddh 1 사용 예제들

공개 메소드들

메소드 설명
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