Exemplo n.º 1
0
 private void Page_PointerExited(object sender, PointerRoutedEventArgs e)
 {
     if (e.Pointer.PointerDeviceType == Windows.Devices.Input.PointerDeviceType.Touch || e.Pointer.PointerDeviceType == Windows.Devices.Input.PointerDeviceType.Pen)
     {
         tap = !tap;
         if (tap)
         {
             PointerOut.Begin();
         }
     }
     else
     {
         PointerOut.Begin();
     }
 }
Exemplo n.º 2
0
 protected void OnPointerOut(PointerOut e)
 {
     if (Services.applicationController.isGamePaused)
     {
         return;
     }
     if (!isTracking || !isActive)
     {
         return;
     }
     if (e.collidedObj != gameObject)
     {
         return;
     }
     _OnKnotPointerOut();
 }
 public virtual void OnPointerOut(PointerEventArgs e)
 {
     PointerOut?.Invoke(this, e);
 }
Exemplo n.º 4
0
 private void LocatePanel_PointerExited(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e)
 {
     PointerOut.Begin();
 }