C# Class StrongChess.Model.BoardUnits.Square

Datei anzeigen Open project: ElemarJR/StrongChess Class Usage Examples

Public Methods

Method Description
AttackedFrom ( Side white, Side black ) : Bitboard
IndexOf ( Rank rank, File file ) : int
Square ( Rank rank, File file ) : System.Globalization
Square ( int index ) : System.Globalization
Square ( string name ) : System.Globalization
ToString ( ) : string

Private Methods

Method Description
Square ( ) : System.Globalization

Method Details

AttackedFrom() public method

public AttackedFrom ( Side white, Side black ) : Bitboard
white Side
black Side
return Bitboard

IndexOf() public static method

public static IndexOf ( Rank rank, File file ) : int
rank Rank
file File
return int

Square() public method

public Square ( Rank rank, File file ) : System.Globalization
rank Rank
file File
return System.Globalization

Square() public method

public Square ( int index ) : System.Globalization
index int
return System.Globalization

Square() public method

public Square ( string name ) : System.Globalization
name string
return System.Globalization

ToString() public method

public ToString ( ) : string
return string