Beispiel #1
0
        /// <summary>
        /// Processes the input of the
        /// </summary>
        /// <param name="input"></param>
        public override void ProcessInput(InputManager input)
        {
            base.ProcessInput(input);
            YesButton.ProcessInput(input);
            NoButton.ProcessInput(input);

            if (input.IsKeyDown(Keys.Escape))
            {
                NoButton.OnClick?.Invoke(NoButton);
            }
        }