introduce enums as map keys
This commit is contained in:
@@ -13,24 +13,24 @@ type DomainInterface interface {
|
||||
Init()
|
||||
|
||||
GetMenuMap() MenuMap
|
||||
GetMenu(name string) Menu
|
||||
SetMenu(name string, menu Menu)
|
||||
GetMenu(name MenuMapKey) Menu
|
||||
SetMenu(name MenuMapKey, menu Menu)
|
||||
|
||||
GetDialogMap() DialogMap
|
||||
GetDialog(name string) Dialog
|
||||
SetDialog(name string, menu Dialog)
|
||||
GetDialog(name DialogMapKey) Dialog
|
||||
SetDialog(name DialogMapKey, menu Dialog)
|
||||
|
||||
GetLevels() []Level
|
||||
GetLevel(index int) Level
|
||||
|
||||
GetObjectTypeMap() ObjectTypeMap
|
||||
GetObjectType(name string) ObjectType
|
||||
GetObjectType(name ObjectTypeMapKey) ObjectType
|
||||
|
||||
GetItemTypeMap() ItemTypeMap
|
||||
GetItemType(name string) ItemType
|
||||
GetItemType(name ItemTypeMapKey) ItemType
|
||||
|
||||
GetNPCTypeMap() NPCTypeMap
|
||||
GetNPCType(name string) NPCType
|
||||
GetNPCType(name NPCTypeMapKey) NPCType
|
||||
|
||||
AddToInventory(item *Item) bool
|
||||
RemoveFromInventory(item *Item) bool
|
||||
|
||||
Reference in New Issue
Block a user