예제 #1
0
 public UIElementsWindow(Scene scene, ICamera camera)
 {
     UIElements = new SortedList<int, GameUIElement>();
     Scene = scene;
     Camera = camera;
 }
예제 #2
0
 // 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);
 }
예제 #3
0
 public UIElementsWindow(Scene scene)
     : this(scene, new StaticCamera())
 {
     CameraComponent.CameraUpdated += CameraUpdatedHandler;
 }