Package net.cis.client.game.common.model.co

Examples of net.cis.client.game.common.model.co.ControlledCamera


    this.camera = camera;
  }

  @Override
  public ControlledCamera createControlledObject(CameraDefinition dataObject, boolean loadNow) {
    ControlledCamera cc = null;
    switch (cam2Create) {
    case FirstPerson:
      cc = createFirstPersonCamera(dataObject);
      break;
    case ThirdPerson:
      cc = createThirdPersonCamera(dataObject);
      break;
    }

    if (loadNow)
      cc.loadSceneObject();

    return cc;
  }
View Full Code Here


    throw new RuntimeException("This method shouldn't be called! Use the " + CameraFactory.class.getName()
        + " for camera handling!");
  }

  private ControlledCamera createThirdPersonCamera(CameraDefinition dataObject) {
    ControlledCamera cc = new ControlledCamera(dataObject, CameraType.ThirdPerson, camera);

    return cc;
  }
View Full Code Here

    return cc;
  }

  private ControlledCamera createFirstPersonCamera(CameraDefinition dataObject) {
    ControlledCamera cc = new ControlledCamera(dataObject, CameraType.FirstPerson, camera);

    return cc;
  }
View Full Code Here

TOP

Related Classes of net.cis.client.game.common.model.co.ControlledCamera

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.