Пример #1
0
        public override void HandleInput(InputState input)
        {
            //m is abbreviated mouse
            bool mOverPlay = playButtonRec.Contains(input.CurrentMouseStates[0].X, input.CurrentMouseStates[0].Y);

            if(mOverPlay == true)
            {

            }

            base.HandleInput(input);
        }
Пример #2
0
 /// <summary>
 /// Allows the screen to handle user input. Unlike Update, this method
 /// is only called when the screen is active, and not when some other
 /// screen has taken the focus.
 /// </summary>
 public virtual void HandleInput(InputState input) { }