C# Class MBC.Shared.ControllerRegister

Datei anzeigen Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Methods

Method Description
ControllerRegister ( MBC.Shared.Controller control ) : System

Stores the match and id and sets the score to zero.

ControllerRegister ( ControllerRegister copy ) : System

Deeply copies an existing ControllerRegister.

Equals ( ControllerRegister register ) : bool

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.

Equals ( object obj ) : bool

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.

ToString ( ) : string

Generates a string representation of the ControllerRegister by providing the ControllerID and Controller display name.

Method Details

ControllerRegister() public method

Stores the match and id and sets the score to zero.
public ControllerRegister ( MBC.Shared.Controller control ) : System
control MBC.Shared.Controller
return System

ControllerRegister() public method

Deeply copies an existing ControllerRegister.
public ControllerRegister ( ControllerRegister copy ) : System
copy ControllerRegister A to copy.
return System

Equals() public method

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.
public Equals ( ControllerRegister register ) : bool
register ControllerRegister The to compare with.
return bool

Equals() public method

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.
public Equals ( object obj ) : bool
obj object The object to compare with.
return bool

ToString() public method

Generates a string representation of the ControllerRegister by providing the ControllerID and Controller display name.
public ToString ( ) : string
return string