Development Merge 2025.11.03 #6

Merged
Syntriax merged 21 commits from development into main 2025-11-03 13:07:39 +01:00
Showing only changes of commit a6eb67551d - Show all commits

View File

@@ -19,10 +19,12 @@ public class MonoGameWindow : Game
IsMouseVisible = true; IsMouseVisible = true;
Universe = universe ?? new Universe(); Universe = universe ?? new Universe();
Universe.InstantiateUniverseObject().SetUniverseObject("Window Container") IUniverseObject monogameParent = Universe.InstantiateUniverseObject().SetUniverseObject("MonoGame");
Universe.InstantiateUniverseObject().SetUniverseObject("Window Container", monogameParent)
.BehaviourController.AddBehaviour<MonoGameWindowContainer>(this); .BehaviourController.AddBehaviour<MonoGameWindowContainer>(this);
Universe.InstantiateUniverseObject().SetUniverseObject("Content Loader") Universe.InstantiateUniverseObject().SetUniverseObject("Content Loader", monogameParent)
.BehaviourController.AddBehaviour<LoadContentManager>(); .BehaviourController.AddBehaviour<LoadContentManager>();
} }