Files
gorpg/domain/domain.go

19 lines
259 B
Go

package domain
import (
"game/konstructor"
)
type Domain struct {
Context Context
MenuMap konstructor.MenuMap
DialogMap konstructor.DialogMap
Levels []konstructor.Level
}
func (d *Domain) Init() {
d.InitMenu()
d.InitDialog()
d.InitLevel()
}