/// <summary> /// Adds a GameObject to this screen's GameObjects manager /// </summary> /// <param name="gameObjectToAdd">The object to add</param> /// <param name="load">A flag to indicate whether LoadContent should be called on this object when adding</param> /// <param name="initialise">A flag to indicate whether Initialise should be called on this object when adding</param> public T AddGameObject <T>(T gameObjectToAdd, bool load = false, bool initialise = false) where T : BaseObject { return(GameObjects.AddChild(gameObjectToAdd, load, initialise)); }