C# Class ChessDotNet.ChessUtilities

Mostra file Open project: ProgramFOX/Chess.NET Class Usage Examples

Public Methods

Method Description
GetOpponentOf ( Player player ) : Player
ThrowIfNull ( object value, string parameterName ) : void

Method Details

GetOpponentOf() public static method

public static GetOpponentOf ( Player player ) : Player
player Player
return Player

ThrowIfNull() public static method

public static ThrowIfNull ( object value, string parameterName ) : void
value object
parameterName string
return void