コード例 #1
0
        public override void Update()
        {
            base.Update();

            if (GlobalState.RefreshLabels)
            {
                GlobalState.RefreshLabels = false;
                SetLabels();


                foreach (var state in files)
                {
                    state.SetLabels();
                }
            }

            if (KeyInput.ControllerModeChanged)
            {
                _inputLabel.SetText($"{DialogueManager.GetDialogue("misc", "any", "secrets", 13)} {DialogueManager.GetDialogue("misc", "any", "secrets", 14)}");
            }

            _selector.Update();
            _selector.PostUpdate();

            _substate.Update();

            _state.Update(GameTimes.DeltaTime);
        }