Пример #1
0
 public void Stop()
 {
     StaticDisplay.FPSCap = 60;
     StaticDisplay.RemoveResizeListener(Resize);
     StaticMouse.RemoveMouseDownListener(MouseDown);
     StaticKeyboard.RemoveKeyDownListener(KeyDown);
 }
Пример #2
0
        public void Stop()
        {
            ChangeScreen(null);
            StaticDisplay.RemoveResizeListener(Resize);

            StaticMouse.RemoveMouseDownListener(MouseDown);
            StaticMouse.RemoveMouseUpListener(MouseUp);
            StaticMouse.RemoveMouseWheelListener(MouseWheel);

            StaticKeyboard.RemoveKeyDownListener(KeyDown);
            StaticKeyboard.RemoveKeyUpListener(KeyUp);
        }
Пример #3
0
 public void Stop()
 {
     StaticDisplay.RemoveResizeListener(Resize);
     StaticKeyboard.RemoveKeyDownListener(KeyDown);
     stopRequested = false;
 }