LudoEngineMoveResult constructor

const LudoEngineMoveResult({
  1. required LudoGameState state,
  2. required LudoPiece movedPiece,
  3. required int fromPosition,
  4. required int toPosition,
  5. required List<LudoPiece> capturedPieces,
  6. required bool playerWon,
  7. required bool teamWon,
  8. required bool turnPassed,
  9. required bool gameFinished,
})

Implementation

const LudoEngineMoveResult({
  required this.state,
  required this.movedPiece,
  required this.fromPosition,
  required this.toPosition,
  required this.capturedPieces,
  required this.playerWon,
  required this.teamWon,
  required this.turnPassed,
  required this.gameFinished,
});