DomainBaseFields

This commit is contained in:
2023-07-07 00:27:22 +02:00
parent 88401697c7
commit 13920d66b7
2 changed files with 10 additions and 5 deletions

View File

@@ -5,14 +5,12 @@ import (
) )
type Domain struct { type Domain struct {
konstructor.DomainBaseFields
Context Context Context Context
MenuMap konstructor.MenuMap
DialogMap konstructor.DialogMap
Levels []konstructor.Level
ObjectTypeMap konstructor.ObjectTypeMap
} }
func (d *Domain) Init() { func (d *Domain) Init() {
d.InitObjectType()
d.InitMenu() d.InitMenu()
d.InitDialog() d.InitDialog()
d.InitLevel() d.InitLevel()

View File

@@ -1,5 +1,12 @@
package konstructor package konstructor
type DomainBaseFields struct {
MenuMap MenuMap
DialogMap DialogMap
Levels []Level
ObjectTypeMap ObjectTypeMap
}
type DomainInterface interface { type DomainInterface interface {
Init() Init()