@Override public void destroy() { System.out.println("WebSocketServlet.destroy"); LifeGame.GAME.stop(); }
@Override public void init() throws ServletException { super.init(); WebSocketEngine.getEngine().register(LifeGame.GAME); LifeGame.GAME.start(); }