add GetDefaultFontLayout and ArcadeClassic.ttf

This commit is contained in:
2023-07-05 23:06:36 +02:00
parent 41a32a8fe5
commit ae6eb96d96
4 changed files with 19 additions and 23 deletions

16
domain/font.go Normal file
View File

@@ -0,0 +1,16 @@
package domain
import (
"game/konstructor/entity"
"image/color"
)
func GetDefaultFontLayout() entity.FontLayout {
return entity.FontLayout{
Path: "fonts/ArcadeClassic.ttf",
DPI: 72,
Size: 24,
Color: color.White,
SelectedColor: color.RGBA{R: 255, G: 0, B: 0, A: 100},
}
}