C# Class MBC.Shared.MatchInfo

Mostra file Open project: aiclub/Mohawk_Battleship Class Usage Examples

Protected Properties

Property Type Description
controllerNames List
fieldSize Coordinates
gameMode GameMode
initShips ShipList
methodTimeLimit int

Public Methods

Method Description
MatchInfo ( MatchConfig conf, List registers ) : System

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

Method Details

MatchInfo() public method

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

Property Details

controllerNames protected_oe property

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

fieldSize protected_oe property

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
return Coordinates

gameMode protected_oe property

The GameMode that a match is running in.
protected GameMode gameMode
return GameMode

initShips protected_oe property

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

methodTimeLimit protected_oe property

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