merge entity package to konstructor

This commit is contained in:
2023-07-06 23:33:43 +02:00
parent 2fcf6f4fdc
commit 38b8053223
28 changed files with 89 additions and 94 deletions

View File

@@ -1,19 +1,15 @@
package konstructor
import (
"game/konstructor/entity"
)
type Konstructor struct {
Domain entity.DomainInterface
KContext *entity.KContext
Settings *entity.Settings
EngineWrapper entity.EngineWrapperInterface
Domain DomainInterface
KContext *KContext
Settings *Settings
EngineWrapper EngineWrapperInterface
}
func (k Konstructor) Init() {
k.Domain.Init()
k.EngineWrapper.Init(entity.EngineArgs{
k.EngineWrapper.Init(EngineArgs{
Domain: k.Domain,
KContext: k.KContext,
Settings: k.Settings,