BishopState constructor

const BishopState({
  1. required List<int> board,
  2. Move? move,
  3. StateMeta? meta,
  4. required Colour turn,
  5. required int halfMoves,
  6. required int fullMoves,
  7. required CastlingRights castlingRights,
  8. int? epSquare,
  9. required List<int> royalSquares,
  10. required List<List<int>> virginFiles,
  11. List<Hand>? hands,
  12. List<Hand>? gates,
  13. required List<int> pieces,
  14. List<int> checks = const [0, 0],
  15. GameResult? result,
  16. 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,
});