示例#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;
 }