/// <summary> /// Un-register an item from the instance /// </summary> /// <param name="item">The item to be un-registered</param> public void UnregisterItem(Renderable item) { item.Delete(); // Call the delete method of the item }
/// <summary> /// Register an item to the instance /// </summary> /// <param name="item">The item to be registered</param> public void RegisterItem(Renderable item) { _renderables.Add(item); // Add an item to the register. }