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

@@ -0,0 +1,27 @@
package konstructor
type DomainInterface interface {
Init()
GetMenuMap() MenuMap
GetMenu(name string) Menu
SetMenu(name string, menu Menu)
GetDialogMap() DialogMap
GetDialog(name string) Dialog
SetDialog(name string, menu Dialog)
GetLevels() []Level
GetLevel(index int) Level
AddToInventory(item *Item) bool
RemoveFromInventory(item *Item) bool
UseInventoryItem(item *Item) bool
Process(DomainProcessArgs)
}
type DomainProcessArgs struct {
Level *Level
KContext *KContext
}