Example #1
0
 public override void HandleInput(InputState input)
 {
     foreach (GestureSample gesture in input.Gestures)
     {
         if (gesture.GestureType == GestureType.Tap)
         {
             _trafficGame.HandleInput(new Point((int)gesture.Position.X, (int)gesture.Position.Y));
         }
     }
 }