Beispiel #1
0
 public static void PausedHandler()
 {
     if (m_state == State.Active)
     {
         m_state = State.Inactive;
         Keyboard.Clear();
         Mixer.Deactivate();
         if (Window.Deactivated != null)
         {
             Window.Deactivated();
         }
     }
 }