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