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]); }
Afficher le fichier Open project: aiclub/Mohawk_Battleship Class Usage Examples

Méthodes publiques

Méthode Description
ToString ( ) : string

Generates a string that displays the value.

Private Methods

Méthode Description
IDNumber ( int value ) : MBC.Shared

Method Details

ToString() public méthode

Generates a string that displays the value.
public ToString ( ) : string
Résultat string