player as object

This commit is contained in:
2023-07-07 15:18:51 +02:00
parent 7ef126f02b
commit 1db9417dbb
9 changed files with 88 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ type DomainBaseFields struct {
MenuMap MenuMap
DialogMap DialogMap
Levels []Level
Players []Player
PlatformTypeMap PlatformTypeMap
ItemTypeMap ItemTypeMap
NPCTypeMap NPCTypeMap
@@ -23,6 +24,10 @@ type DomainInterface interface {
GetLevels() []Level
GetLevel(index int) Level
GetPlayers() []Player
GetPlayer(index int) Player
GetDefaultPlayer() Player
GetPlatformTypeMap() PlatformTypeMap
GetPlatformType(name PlatformTypeMapKey) PlatformType