summaryrefslogtreecommitdiff
path: root/engine/Components/ResourceManager.go
diff options
context:
space:
mode:
Diffstat (limited to 'engine/Components/ResourceManager.go')
-rw-r--r--engine/Components/ResourceManager.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/Components/ResourceManager.go b/engine/Components/ResourceManager.go
index b33acc0..d7242c4 100644
--- a/engine/Components/ResourceManager.go
+++ b/engine/Components/ResourceManager.go
@@ -16,6 +16,7 @@ type ResourceManager struct {
Textures TextrueManager
objects map[string]*coreobjects.DynamicObject
Worlds map[string]*World
+ Menus map[string]coreobjects.Scene
}
func InitManager() {
@@ -23,6 +24,7 @@ func InitManager() {
LoadedPackages: make(map[string]*settings.AppVersion),
Worlds: make(map[string]*World),
objects: make(map[string]*coreobjects.DynamicObject),
+ Menus: make(map[string]coreobjects.Scene),
Textures: TextrueManager{
Textures: make([]*rl.Texture2D, 0),
NameToId: make(map[string]uint64),