C# Class MBC.Shared.IDNumber

Identical to an integer and can be used exactly as such in code. Used to identify a Controller in a specific index of arrays present in Register and MatchConfig. { var matchInfo = ...; //get the MatchInfo from somewhere ControllerID opponent = ...; //get it from somewhere Console.WriteLine("Playing against " + matchInfo.Players[opponent]); }
Show file Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Generates a string that displays the value.

Private Methods

Method Description
IDNumber ( int value ) : MBC.Shared

Method Details

ToString() public method

Generates a string that displays the value.
public ToString ( ) : string
return string