Beispiel #1
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)
 {
 }
 public override void HandleInput(InputState input)
 {
     base.HandleInput(input);
 }
 public override void HandleInput(InputState input)
 {
     mouseState = Mouse.GetState();
     intersection.CheckMouseInteraction(mouseState);
     intersection2.CheckMouseInteraction(mouseState);
 }