playground and object drawer skeleton

This commit is contained in:
2023-07-06 16:35:14 +02:00
parent 701205ac82
commit 2fcf6f4fdc
11 changed files with 56 additions and 20 deletions

23
main.go
View File

@@ -12,26 +12,19 @@ import (
func main() {
k := konstructor.Konstructor{
EngineWrapper: &engine.EngineWrapper{},
Domain: &domain.Domain{
Context: domain.Context{
PlayerState: domain.PlayerState{
Name: "Player One",
},
User: domain.User{
Name: "John Doe",
},
},
},
Domain: &domain.Domain{},
KContext: &entity.KContext{
ScreenType: entity.MenuScreenType,
ScreenValue: "MainMenu",
CurrentLevel: 0,
ScreenType: entity.PlaygroundScreenType,
ScreenValue: "MainMenu",
CurrentLevel: 0,
CurrentPlayground: 0,
},
Settings: &entity.Settings{
Name: "Game",
Screen: &entity.ScreenSettings{
Width: 640,
Height: 480,
Width: 320,
Height: 240,
Scale: 2,
},
KeyMap: entity.KeyMap{
Up: ebiten.KeyUp,