Quick Play

This commit is contained in:
nelle 2023-10-29 02:32:04 -06:00
parent 1af074ab92
commit 8c6526a9c7

View file

@ -33,14 +33,14 @@ class StartView (private val grid: TileGrid, theme: ColorTheme = GameConfig.THEM
// we align the button to the bottom center of our header // we align the button to the bottom center of our header
.withAlignmentAround(header, ComponentAlignment.BOTTOM_CENTER) .withAlignmentAround(header, ComponentAlignment.BOTTOM_CENTER)
// its text is "Start!" // its text is "Start!"
.withText("BEGIN!") .withText("QUICK PLAY!")
// we want a box and some shadow around it // we want a box and some shadow around it
.withDecorations(box(), shadow()) .withDecorations(box(), shadow())
.build() .build()
val configButton = Components.button() val configButton = Components.button()
.withAlignmentAround(startButton, ComponentAlignment.BOTTOM_CENTER) .withAlignmentAround(startButton, ComponentAlignment.BOTTOM_CENTER)
.withText("CONFIG") .withText("PLAY")
.withDecorations(box(), shadow()) .withDecorations(box(), shadow())
.build() .build()