chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.model / PieceColor

PieceColor

enum class PieceColor

Represent a color of piece or player

Author Felix Dimmel

Enum Values

WHITE Color white
BLACK Color black

Functions

getCode abstract fun getCode(): String
getOpposite abstract fun getOpposite(): PieceColor