Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
object DefaultSquareRenderer : SquareRenderer {
override val decorations: List<SquareDecoration> =
listOf(
DefaultSquareBackground,
DefaultHighlightSquare,
DefaultSquarePositionLabel,
DatasetVisualiser,
TargetMarks
)
}
object DefaultBoardRenderer : BoardRenderer {
override val decorations: List<BoardDecoration> =
listOf(
DecoratedSquares(DefaultSquareRenderer.decorations),
Pieces
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment