Created
July 31, 2021 18:29
-
-
Save zsoltk/16996784080179d594a30bc2805f348a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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