set

internal operator fun set(file: File, rank: Rank, piece: Piece?)

Sets the Piece at the given File and Rank.


internal operator fun set(square: Square, piece: Piece?)

Sets the Piece at the given Square.


internal operator fun set(notation: String, piece: Piece?)

Sets the Piece at the square specified by algebraic notation.