public void Stop() { StaticKeyboard.RemoveKeyUpListener(Events.KeyUp); StaticKeyboard.RemoveKeyDownListener(Events.KeyDown); StaticMouse.RemoveMouseDownListener(Events.MouseClick); StaticMouse.RemoveMouseWheelListener(Events.MouseWheel); }
public void Stop() { StaticDisplay.FPSCap = 60; StaticDisplay.RemoveResizeListener(Resize); StaticMouse.RemoveMouseDownListener(MouseDown); StaticKeyboard.RemoveKeyDownListener(KeyDown); }
public void Stop() { ChangeScreen(null); StaticDisplay.RemoveResizeListener(Resize); StaticMouse.RemoveMouseDownListener(MouseDown); StaticMouse.RemoveMouseUpListener(MouseUp); StaticMouse.RemoveMouseWheelListener(MouseWheel); StaticKeyboard.RemoveKeyDownListener(KeyDown); StaticKeyboard.RemoveKeyUpListener(KeyUp); }