rename settings to config

This commit is contained in:
2023-07-07 18:10:15 +02:00
parent 1db9417dbb
commit 05ec82d8e8
7 changed files with 22 additions and 22 deletions

24
konstructor/config.go Normal file
View File

@@ -0,0 +1,24 @@
package konstructor
type KeyMap struct {
Up any
Down any
Right any
Left any
Action0 any
Action1 any
Action2 any
Action3 any
}
type ScreenConfig struct {
Width int
Height int
Scale int
}
type Config struct {
Name string
Screen *ScreenConfig
KeyMap KeyMap
}