Package net.cis.client.game.common.threading

Examples of net.cis.client.game.common.threading.IGameDestroyCallback


  private void initializeInput(PlayerVehicleUpdates pvu) {
    inputCtrl = new InputCtrl(gameApp.getInputManager(), pvu);
  }

  private IGameDestroyCallback createDestroyCallback() {
    return new IGameDestroyCallback() {
      @Override
      public void destroy() {
     
        //graceful threadpool shutdown
        aiCtrl.stopWait(1000);
View Full Code Here


    HandshakeController handshakeController = new HandshakeController(cisClient, callback);
    cisClient.addClientStateListener(handshakeController);
    cisClient.addMessageListener(handshakeController, GameVersionMessage.class, GameInformationMessage.class,
        AuthorizeMessage.class);
    cisClient.addMessageListener(this, UserDataMessage.class);
    gameApp.addGameDestroyCallback(new IGameDestroyCallback() {
      @Override
      public void destroy() {
        cisClient.close();
      }
    });
View Full Code Here

TOP

Related Classes of net.cis.client.game.common.threading.IGameDestroyCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.