engine
/
moves
/
Move
/
SimpleMove
/
BasicMove
/
BasicMove
Basic
Move
fun <
P
:
Piece
<
B
,
MG
,
P
,
C
>,
C
:
Coordinate
>
BasicMove
(from:
C
, to:
C
, pieceMoved:
P
, player:
Player
, pieceCaptured:
P
? = null, pieceCapturedCoordinate:
C
= to, piecePromotedTo:
P
? = null, checkForCheck:
Boolean
= true)
Content copied to clipboard