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

View File

@@ -9,13 +9,13 @@ import (
type Engine struct {
Domain konstructor.DomainInterface
Settings *konstructor.Settings
Config *konstructor.Config
KContext *konstructor.KContext
PressedKey ebiten.Key
}
func (e *Engine) Layout(outsideWidth, outsideHeight int) (int, int) {
return e.Settings.Screen.Width, e.Settings.Screen.Height
return e.Config.Screen.Width, e.Config.Screen.Height
}
func (e *Engine) Update(screen *ebiten.Image) error {