Examples of IGameDestroyCallback


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

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

    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
Copyright © 2018 www.massapi.com. 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.