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