merge entity package to konstructor
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user