C# Class StrongChess.Model.Sets.BlackPawns

ファイルを表示 Open project: ElemarJR/StrongChess Class Usage Examples

Public Methods

Method 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

Method Description
GetMoves ( Bitboard b, int offsetFrom ) : IEnumerable

Method Details

BlackPawns() public method

public BlackPawns ( Bitboard locations ) : System.Collections.Generic
locations Bitboard
return System.Collections.Generic

GetAllMoves() public method

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

GetCaptures() public method

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

GetCaptures() public method

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

GetCapturesMoveBoard() public method

public GetCapturesMoveBoard ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : Bitboard
notblockers Bitboard
enemies Bitboard
enpassant StrongChess.Model.BoardUnits.Square
return Bitboard

GetMoveBoard() public method

public GetMoveBoard ( Bitboard notblockers, Bitboard enemies, Square enpassant ) : Bitboard
notblockers Bitboard
enemies Bitboard
enpassant StrongChess.Model.BoardUnits.Square
return Bitboard

GetMovesOneSquareForward() public method

public GetMovesOneSquareForward ( ) : IEnumerable
return IEnumerable

GetMovesOneSquareForward() public method

public GetMovesOneSquareForward ( Bitboard notblockers ) : IEnumerable
notblockers Bitboard
return IEnumerable

GetMovesOneSquareForward() public method

public GetMovesOneSquareForward ( Bitboard notblockers, Bitboard filterFrom, Bitboard filterTo ) : IEnumerable
notblockers Bitboard
filterFrom Bitboard
filterTo Bitboard
return IEnumerable

GetMovesTwoSquaresForward() public method

public GetMovesTwoSquaresForward ( ) : IEnumerable
return IEnumerable

GetMovesTwoSquaresForward() public method

public GetMovesTwoSquaresForward ( Bitboard notblockers ) : IEnumerable
notblockers Bitboard
return IEnumerable

GetMovesTwoSquaresForward() public method

public GetMovesTwoSquaresForward ( Bitboard notblockers, Bitboard filterFrom, Bitboard filterTo ) : IEnumerable
notblockers Bitboard
filterFrom Bitboard
filterTo Bitboard
return IEnumerable