Package net.cis.client.main.ctrl

Examples of net.cis.client.main.ctrl.LoginController


        NiftyJmeDisplay niftyDisplay = new NiftyJmeDisplay(
            gameApp.getAssetManager(), gameApp.getInputManager(),
            gameApp.getAudioRenderer(), gameApp.getGuiViewPort());
        gameApp.getGuiViewPort().addProcessor(niftyDisplay);

        LoginController loginCtrl = new LoginController(gameApp,
            niftyDisplay);
        if (ResourceConstants
            .getDevBoolProp(ResourceConstants.DEV_LOGIN_ENABLED)) {
          LoginUIController loginUIController = new LoginUIController(
              loginCtrl);
          gameApp.getInputManager().setCursorVisible(true);
          niftyDisplay.getNifty().fromXml("login/loginUI.xml",
              "loginUI", loginUIController);
        } else {
          loginCtrl.startGame(null);
        }
      }
    };
  }
View Full Code Here

TOP

Related Classes of net.cis.client.main.ctrl.LoginController

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.