chore: put monogame behaviours under a parent universe object
This commit is contained in:
		@@ -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>();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user