Example #1
0
 public void Stop()
 {
     StaticKeyboard.RemoveKeyUpListener(Events.KeyUp);
     StaticKeyboard.RemoveKeyDownListener(Events.KeyDown);
     StaticMouse.RemoveMouseDownListener(Events.MouseClick);
     StaticMouse.RemoveMouseWheelListener(Events.MouseWheel);
 }
Example #2
0
 public void Stop()
 {
     StaticDisplay.FPSCap = 60;
     StaticDisplay.RemoveResizeListener(Resize);
     StaticMouse.RemoveMouseDownListener(MouseDown);
     StaticKeyboard.RemoveKeyDownListener(KeyDown);
 }
Example #3
0
        public void Stop()
        {
            ChangeScreen(null);
            StaticDisplay.RemoveResizeListener(Resize);

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

            StaticKeyboard.RemoveKeyDownListener(KeyDown);
            StaticKeyboard.RemoveKeyUpListener(KeyUp);
        }