summaryrefslogtreecommitdiff
path: root/engine/Components
diff options
context:
space:
mode:
authorphyscik <mynameisgennadiy@vk.com>2026-03-24 12:25:32 +0500
committerphyscik <mynameisgennadiy@vk.com>2026-03-24 12:25:32 +0500
commitaab26bbdb0d8ad96e774baa07d44a3fcc5212cf1 (patch)
treecf2296dc48767f8b339e1867fc16079c6ba235c8 /engine/Components
parent3e3e1f480f87192cf1042bec0ee0d4bb7c356e62 (diff)
Moved assets to a 'core' package
Diffstat (limited to 'engine/Components')
-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),