C# Класс MBC.Shared.MatchInfo

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

Защищенные свойства (Protected)

Свойство Тип Описание
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