Quick Play
This commit is contained in:
parent
1af074ab92
commit
8c6526a9c7
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue