C# Class StrongChess.Model.Sets.BlackPawns

Afficher le fichier Open project: ElemarJR/StrongChess Class Usage Examples

Méthodes publiques

Méthode Description
BlackPawns ( Bitboard locations ) : System.Collections.Generic
GetAllMoves ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : IEnumerable
GetCaptures ( Bitboard enemies, Bitboard filterFrom, Bitboard filterTo, Square enpassant = null ) : IEnumerable
GetCaptures ( Bitboard enemies, Square enpassant = null ) : IEnumerable
GetCapturesMoveBoard ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : Bitboard
GetMoveBoard ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : Bitboard
GetMovesOneSquareForward ( ) : IEnumerable
GetMovesOneSquareForward ( Bitboard notblockers ) : IEnumerable
GetMovesOneSquareForward ( Bitboard notblockers, Bitboard filterFrom, Bitboard filterTo ) : IEnumerable
GetMovesTwoSquaresForward ( ) : IEnumerable
GetMovesTwoSquaresForward ( Bitboard notblockers ) : IEnumerable
GetMovesTwoSquaresForward ( Bitboard notblockers, Bitboard filterFrom, Bitboard filterTo ) : IEnumerable

Private Methods

Méthode Description
GetMoves ( Bitboard b, int offsetFrom ) : IEnumerable

Method Details

BlackPawns() public méthode

public BlackPawns ( Bitboard locations ) : System.Collections.Generic
locations Bitboard
Résultat System.Collections.Generic

GetAllMoves() public méthode

public GetAllMoves ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : IEnumerable
notblockers Bitboard
enemies Bitboard
enpassant StrongChess.Model.BoardUnits.Square
Résultat IEnumerable

GetCaptures() public méthode

public GetCaptures ( Bitboard enemies, Bitboard filterFrom, Bitboard filterTo, Square enpassant = null ) : IEnumerable
enemies Bitboard
filterFrom Bitboard
filterTo Bitboard
enpassant StrongChess.Model.BoardUnits.Square
Résultat IEnumerable

GetCaptures() public méthode

public GetCaptures ( Bitboard enemies, Square enpassant = null ) : IEnumerable
enemies Bitboard
enpassant StrongChess.Model.BoardUnits.Square
Résultat IEnumerable

GetCapturesMoveBoard() public méthode

public GetCapturesMoveBoard ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : Bitboard
notblockers Bitboard
enemies Bitboard
enpassant StrongChess.Model.BoardUnits.Square
Résultat Bitboard

GetMoveBoard() public méthode

public GetMoveBoard ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : Bitboard
notblockers Bitboard
enemies Bitboard
enpassant StrongChess.Model.BoardUnits.Square
Résultat Bitboard

GetMovesOneSquareForward() public méthode

public GetMovesOneSquareForward ( ) : IEnumerable
Résultat IEnumerable

GetMovesOneSquareForward() public méthode

public GetMovesOneSquareForward ( Bitboard notblockers ) : IEnumerable
notblockers Bitboard
Résultat IEnumerable

GetMovesOneSquareForward() public méthode

public GetMovesOneSquareForward ( Bitboard notblockers, Bitboard filterFrom, Bitboard filterTo ) : IEnumerable
notblockers Bitboard
filterFrom Bitboard
filterTo Bitboard
Résultat IEnumerable

GetMovesTwoSquaresForward() public méthode

public GetMovesTwoSquaresForward ( ) : IEnumerable
Résultat IEnumerable

GetMovesTwoSquaresForward() public méthode

public GetMovesTwoSquaresForward ( Bitboard notblockers ) : IEnumerable
notblockers Bitboard
Résultat IEnumerable

GetMovesTwoSquaresForward() public méthode

public GetMovesTwoSquaresForward ( Bitboard notblockers, Bitboard filterFrom, Bitboard filterTo ) : IEnumerable
notblockers Bitboard
filterFrom Bitboard
filterTo Bitboard
Résultat IEnumerable