/// <summary> /// Remove an item from the render queue, so it will no longer be drawn on screen /// </summary> /// <param name="toRemove">The item to remove</param> public static void removeFromRenderQueue(IDRAWABLE toRemove) { ThingsToDraw.Remove(toRemove); }
/// <summary> /// Add an item to the render queue, so that it will be drawn on screen /// </summary> /// <param name="item">The item to add</param> public static void addToRenderQueue(IDRAWABLE item) { ThingsToDraw.Add(item); }