@Override protected void doStart() throws ServiceException { super.doStart(); try { Mouse.create(); } catch (LWJGLException e) { throw new ServiceException(e); } this.evtSrv = EventService.getInstance(getCore()); this.buttons = new boolean[Mouse.getButtonCount()]; }
@Override protected void doStop() { super.doStop(); this.evtSrv = null; Mouse.destroy(); }