C# 클래스 MBC.Shared.MatchInfo

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

보호된 프로퍼티들

프로퍼티 타입 설명
controllerNames List
fieldSize Coordinates
gameMode GameMode
initShips ShipList
methodTimeLimit int

공개 메소드들

메소드 설명
MatchInfo ( MatchConfig conf, List registers ) : System

Does nothing, but makes it so only deriving classes may create a MatchInfo.

메소드 상세

MatchInfo() 공개 메소드

Does nothing, but makes it so only deriving classes may create a MatchInfo.
public MatchInfo ( MatchConfig conf, List registers ) : System
conf MatchConfig
registers List
리턴 System

프로퍼티 상세

controllerNames 보호되어 있는 프로퍼티

A list of strings of all Controllers involved. Respects the order of ControllerRegister.ID of each Controller.
protected List controllerNames
리턴 List

fieldSize 보호되어 있는 프로퍼티

Coordinates with the Coordinates.X and Coordinates.Y values that indicate the maximum size of the battleship field. The battleship field starts at (0, 0) and controllers may place Ships and Shots less than the maximum size.
protected Coordinates fieldSize
리턴 Coordinates

gameMode 보호되어 있는 프로퍼티

The GameMode that a match is running in.
protected GameMode gameMode
리턴 GameMode

initShips 보호되어 있는 프로퍼티

A ShipList containing the Ships that a Controller is given at the beginning of a round for placement.
protected ShipList initShips
리턴 ShipList

methodTimeLimit 보호되어 있는 프로퍼티

The time in milliseconds that a Controller has to return from a method.
protected int methodTimeLimit
리턴 int