private void FireButton_Invoked(object sender, DwellInvokedRoutedEventArgs e) { if (!Game1.isPaused) { Game1.myGamePage.DestroyDisaster(this.entityId); } }
private void GazeInvokeOrClick_Invoked(object sender, DwellInvokedRoutedEventArgs e) { TextBlock_ButtonGazeInvokeOrClick.Text = $"Gaze = {++_GazeInvokeOrClick_GazeCount} \r\nClick = {_GazeInvokeOrClick_ClickCount}"; e.Handled = true; }
private void GazeInvoke_Only_Invoked(object sender, DwellInvokedRoutedEventArgs e) { TextBlock_ButtonGazeInvoke.Text = $"Gazes = {++_GazeInvokeCount}"; e.Handled = true; }
private void OnGazeInvoked(object sender, DwellInvokedRoutedEventArgs e) { }
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; }