private void FireButton_Invoked(object sender, DwellInvokedRoutedEventArgs e)
 {
     if (!Game1.isPaused)
     {
         Game1.myGamePage.DestroyDisaster(this.entityId);
     }
 }
Beispiel #2
0
 private void GazeInvokeOrClick_Invoked(object sender, DwellInvokedRoutedEventArgs e)
 {
     TextBlock_ButtonGazeInvokeOrClick.Text = $"Gaze = {++_GazeInvokeOrClick_GazeCount} \r\nClick = {_GazeInvokeOrClick_ClickCount}";
     e.Handled = true;
 }
Beispiel #3
0
 private void GazeInvoke_Only_Invoked(object sender, DwellInvokedRoutedEventArgs e)
 {
     TextBlock_ButtonGazeInvoke.Text = $"Gazes = {++_GazeInvokeCount}";
     e.Handled = true;
 }
Beispiel #4
0
 private void OnGazeInvoked(object sender, DwellInvokedRoutedEventArgs e)
 {
 }
Beispiel #5
0
 private void LightningDwelled(object sender, DwellInvokedRoutedEventArgs e)
 {
     destroyMe = true;
 }
 private void OnGazeInvoked(object sender, DwellInvokedRoutedEventArgs e)
 {
     _clickCount++;
     HowButton.Content = string.Format("{0}: Accessible click", _clickCount);
     e.Handled         = true;
 }
 private void FireDwellHandler(object sender, DwellInvokedRoutedEventArgs e)
 {
     destroyMe = true;
 }