Ejemplo n.º 1
0
        protected override void OnInit()
        {
            _headerText = UiLabels.HeaderLabel("Options", Color.White);
            Add(UiButtons.Back(() => Scene.NavigateTo(CurrentGameState.CurrentLocation)));

            _startingY = UI.OfScreenHeight(0.15f);
            AddGameplayOptions();
            AddDisplayOptions();
            AddAudioOptions();
            AddResetControls();
        }
Ejemplo n.º 2
0
 private void InitUiElements()
 {
     _subview    = new NoSubView();
     _objectives = new ObjectivesView();
     _objectives.Init();
     _investigateRoomBranch = new ClickUIBranch("Location Investigation", 1);
     _locationNameLabel     = UiLabels.HeaderLabel(_location.Name, Color.White);
     _clickUi        = new ClickUI();
     _tutorialBranch = new ClickUIBranch("Tutorial", 25);
     _tutorialBranch.Add(_objectives.TutorialButton);
     _clickUi.Add(_tutorialBranch);
 }