Package net.cis.client.game.scenery.factory

Examples of net.cis.client.game.scenery.factory.CameraFactory


  private final CameraDefinition cameraDef;

  private ControlledCamera currentCamera;

  public CameraCtrl(GameApplication gameApp) {
    cameraFactory = new CameraFactory(gameApp.getCamera());
    // FIXME: load from persistence
    cameraDef = BaseFactory.eINSTANCE.createCameraDefinition();

    currentCamera = cameraFactory.createControlledObject(cameraDef, true);
    GlobalObjectStore.<IObjectController>getObject(IObjectController.class).addCamera(currentCamera, true);
View Full Code Here

TOP

Related Classes of net.cis.client.game.scenery.factory.CameraFactory

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.