Example #1
0
        public virtual void Update(GameTime gameTime)
        {
            Container?.Update(Input);

            // TODO Process From Parent Game State...
            if (Input.MouseState.LeftButton == Microsoft.Xna.Framework.Input.ButtonState.Pressed &&
                FocusedControl != null && Input.MouseState.Position != Input.PrevMouseState.Position && FocusedControl.DoesBlockMouseClick())
            {
                FocusedControl?.OnMouseDownMove(Input);
            }
        }