Esempio n. 1
0
 @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()];
 }
Esempio n. 2
0
 @Override
 protected void doStop() {
   super.doStop();
   this.evtSrv = null;
   Mouse.destroy();
 }