rename to Constructor to Konstructor

This commit is contained in:
2023-06-30 17:48:34 +02:00
parent 0ed8cfb839
commit c07074aeb9
5 changed files with 20 additions and 20 deletions

14
main.go
View File

@@ -1,8 +1,8 @@
package main
import (
"game/constructor"
"game/domain"
"game/konstructor"
"github.com/hajimehoshi/ebiten"
)
@@ -18,10 +18,10 @@ func main() {
},
},
}
constructor := constructor.Constructor{
konstructor := konstructor.Konstructor{
Domain: domain,
Controller: constructor.Controller{
KeyMap: constructor.KeyMap{
Controller: konstructor.Controller{
KeyMap: konstructor.KeyMap{
Up: ebiten.KeyUp,
Down: ebiten.KeyDown,
Right: ebiten.KeyRight,
@@ -32,13 +32,13 @@ func main() {
Action3: ebiten.KeyEscape,
},
},
GameSettings: constructor.GameSettings{
GameSettings: konstructor.GameSettings{
Name: "Game",
ScreenSettings: constructor.ScreenSettings{
ScreenSettings: konstructor.ScreenSettings{
Width: 640,
Height: 480,
},
},
}
constructor.Init()
konstructor.Init()
}