player as object
This commit is contained in:
@@ -6,6 +6,7 @@ const (
|
||||
ItemObjectType ObjectType = "item"
|
||||
NPCObjectType ObjectType = "npc"
|
||||
PlatformObjectType ObjectType = "platform"
|
||||
PlayerObjectType ObjectType = "player"
|
||||
)
|
||||
|
||||
type ObjectDirectoryMap map[ObjectType]string
|
||||
@@ -14,6 +15,7 @@ var ObjectDirectories = ObjectDirectoryMap{
|
||||
ItemObjectType: "items",
|
||||
NPCObjectType: "npcs",
|
||||
PlatformObjectType: "platforms",
|
||||
PlayerObjectType: "players",
|
||||
}
|
||||
|
||||
func GetObjectDirectory(name ObjectType) string {
|
||||
|
||||
Reference in New Issue
Block a user