public void Update(UiFocusContainer container)
        {
            if (_game.Keyboard.IsKeyDownOnce(Keys.W))
            {
                MoveToPreviousElement?.Invoke();
            }
            else if (_game.Keyboard.IsKeyDownOnce(Keys.S))
            {
                MoveToNextElement?.Invoke();
            }

            if (_game.Keyboard.IsKeyDownOnce(Keys.Space) || _game.Keyboard.IsKeyDownOnce(Keys.Enter))
            {
                OnAction?.Invoke(container.CurrentElement);
            }
        }
 protected void InvokeMoveToNextElement()
 {
     MoveToNextElement?.Invoke();
 }