getPieces

open override fun getPieces(): List<Pair<PieceHex, Coordinate2D>>

Returns a list of pairs of all pieces and the corresponding coordinate that the piece is placed on

Return

a list of pairs representing which coordinate each piece is on

open override fun getPieces(player: Player): List<Pair<PieceHex, Coordinate2D>>

Returns a list of pairs of all pieces that a given player owns and the corresponding coordinate that the piece is placed on

Return

a list of pairs representing which coordinate each piece is on for the given player