Beispiel #1
0
        protected void OnUnfrozen(CauseOfFreezing cause)
        {
            FreezeEventArgs args = new FreezeEventArgs(cause);

            Unfrozen?.Invoke(this, args);
            pauseDisplay.Visibility = Visibility.Hidden;
            pauseSymbol.BeginAnimation(Canvas.OpacityProperty, null);
        }
Beispiel #2
0
        protected void OnFrozen(CauseOfFreezing cause)
        {
            FreezeEventArgs args = new FreezeEventArgs(cause);

            Frozen?.Invoke(this, args);
            pauseSymbol.BeginAnimation(Canvas.OpacityProperty, pauseAnimation);
            pauseDisplay.Visibility = Visibility.Visible;
        }
Beispiel #3
0
 public FreezeEventArgs(CauseOfFreezing cause)
 {
     this.cause = cause;
 }