Examples of CameraFactory


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
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.