private void LoadGui() { _progradeButton = new ProgradeButton(new Point(RenderUtils.ScreenWidth - 160, RenderUtils.ScreenHeight - 105)); _retrogradeButton = new RetrogradeButton(new Point(RenderUtils.ScreenWidth - 160, RenderUtils.ScreenHeight - 45)); _gauges = new List <IGauge> { new NavBall(new Point(RenderUtils.ScreenWidth - 75, RenderUtils.ScreenHeight - 75)), _progradeButton, _retrogradeButton, new ThrustGauge(new Point(RenderUtils.ScreenWidth - 195, RenderUtils.ScreenHeight - 75)), new Scale(new Point(75, RenderUtils.ScreenHeight - 25)) }; }
private void LoadGui() { _eventManager = new EventManager(new Point(RenderUtils.ScreenWidth / 2, 60), 5, 0.25); _progradeButton = new ProgradeButton(new Point(RenderUtils.ScreenWidth - 160, RenderUtils.ScreenHeight - 105)); _retrogradeButton = new RetrogradeButton(new Point(RenderUtils.ScreenWidth - 160, RenderUtils.ScreenHeight - 45)); _gauges = new List <IGauge> { new NavBall(new Point(RenderUtils.ScreenWidth - 75, RenderUtils.ScreenHeight - 75)), _progradeButton, _retrogradeButton, new ThrustGauge(new Point(RenderUtils.ScreenWidth - 195, RenderUtils.ScreenHeight - 75)), new Scale(new Point(75, RenderUtils.ScreenHeight - 25)) }; _textDisplay = new TextDisplay(); }