remove unused EngineInterface

This commit is contained in:
2023-07-05 18:45:17 +02:00
parent ad30de96d9
commit 8775464c25
3 changed files with 26 additions and 54 deletions

View File

@@ -6,16 +6,16 @@ import (
type Konstructor struct {
Domain entity.DomainInterface
Settings entity.Settings
KContext *entity.KContext
Settings entity.Settings
EngineWrapper entity.EngineWrapperInterface
}
func (k Konstructor) Init() {
k.Domain.Init()
k.EngineWrapper.Init(entity.EngineOptions{
KContext: *k.KContext,
Domain: k.Domain,
KContext: *k.KContext,
Settings: k.Settings,
})
k.EngineWrapper.Run()