constructor stucture fixes
This commit is contained in:
9
main.go
9
main.go
@@ -20,7 +20,7 @@ func main() {
|
||||
}
|
||||
constructor := constructor.Constructor{
|
||||
Domain: domain,
|
||||
Keyboard: constructor.Keyboard{
|
||||
Controller: constructor.Controller{
|
||||
KeyMap: constructor.KeyMap{
|
||||
Up: ebiten.KeyUp,
|
||||
Down: ebiten.KeyDown,
|
||||
@@ -32,6 +32,13 @@ func main() {
|
||||
Action3: ebiten.KeyEscape,
|
||||
},
|
||||
},
|
||||
GameSettings: constructor.GameSettings{
|
||||
Name: "Game",
|
||||
ScreenSettings: constructor.ScreenSettings{
|
||||
Width: 640,
|
||||
Height: 480,
|
||||
},
|
||||
},
|
||||
}
|
||||
constructor.Init()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user