summaryrefslogtreecommitdiff
path: root/engine/Components/ResourceManager.go
diff options
context:
space:
mode:
authorphyscik <mynameisgennadiy@vk.com>2026-03-26 20:08:42 +0500
committerphyscik <mynameisgennadiy@vk.com>2026-03-26 20:08:42 +0500
commitb4c403089c7db4c382f3cf4fef23191b65f17ecb (patch)
tree23946d4161b11f3a60304c432b6264df0ab0bdd1 /engine/Components/ResourceManager.go
parentf5df2fba7cdadfd9e7b0e07f549b43d64ac5c6f4 (diff)
small main.go refactor
Diffstat (limited to 'engine/Components/ResourceManager.go')
-rw-r--r--engine/Components/ResourceManager.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/Components/ResourceManager.go b/engine/Components/ResourceManager.go
index 7dae454..c4953e3 100644
--- a/engine/Components/ResourceManager.go
+++ b/engine/Components/ResourceManager.go
@@ -15,17 +15,15 @@ type ResourceManager struct {
LoadedPackages map[string]*settings.AppVersion
Textures TextrueManager
objects map[string]*coreobjects.DynamicObject
- Worlds map[string]*World
- Menus map[string]coreobjects.Scene
+ Scenes map[string]coreobjects.Scene
}
// Initializes the shared resource manager
func InitManager() {
Resources = ResourceManager{
LoadedPackages: make(map[string]*settings.AppVersion),
- Worlds: make(map[string]*World),
objects: make(map[string]*coreobjects.DynamicObject),
- Menus: make(map[string]coreobjects.Scene),
+ Scenes: make(map[string]coreobjects.Scene),
Textures: TextrueManager{
Textures: make([]*rl.Texture2D, 0),
NameToId: make(map[string]uint64),