public UIElementsWindow(Scene scene, ICamera camera) { UIElements = new SortedList<int, GameUIElement>(); Scene = scene; Camera = camera; }
// Constructor for externally controlled camera public DrawSegment(Scene scene, ICamera camera) { mWindows = new List<UIWindow>(); mWindowsToUpdate = new List<UIWindow>(); AddWindow(new UIElementsWindow(scene, camera), null); }
public UIElementsWindow(Scene scene) : this(scene, new StaticCamera()) { CameraComponent.CameraUpdated += CameraUpdatedHandler; }