dialog skeleton

This commit is contained in:
2023-07-04 19:36:40 +02:00
parent 7874fc022f
commit 1451bd90c0
8 changed files with 162 additions and 51 deletions

View File

@@ -1,8 +1,36 @@
package domain
import (
"game/konstructor"
"image/color"
)
type Domain struct {
Context Context
}
func (d *Domain) Init() {
}
func (d *Domain) GetDialog() konstructor.Dialog {
return konstructor.Dialog{
Layout: konstructor.DialogLayout{
ChoiceFont: konstructor.FontLayout{
DPI: 72,
Size: 24,
Color: color.White,
SelectedColor: color.RGBA{R: 0, G: 255, B: 0, A: 100},
},
},
Choices: []konstructor.DialogChoice{
{
ID: "one",
Label: "One",
},
{
ID: "two",
Label: "Two",
},
},
}
}