BishopState constructor
const
BishopState({
- required List<
int> board, - Move? move,
- StateMeta? meta,
- required Colour turn,
- required int halfMoves,
- required int fullMoves,
- required CastlingRights castlingRights,
- int? epSquare,
- required List<
int> royalSquares, - required List<
List< virginFiles,int> > - List<
Hand> ? hands, - List<
Hand> ? gates, - required List<
int> pieces, - List<
int> checks = const [0, 0], - GameResult? result,
- int hash = 0,
Implementation
const BishopState({
required this.board,
this.move,
this.meta,
required this.turn,
required this.halfMoves,
required this.fullMoves,
required this.castlingRights,
this.epSquare,
required this.royalSquares,
required this.virginFiles,
this.hands,
this.gates,
required this.pieces,
this.checks = const [0, 0],
this.result,
this.hash = 0,
});