getPieces

open override fun getPieces(): List<Pair<Piece3D, Coordinate3D>>

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<Piece3D, Coordinate3D>>

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