Package com.googlecode.jumpnevolve.graphics.world

Examples of com.googlecode.jumpnevolve.graphics.world.Camera


        0.363f, false);
    world.add(emit);
    world.add(eF1);
    world.add(eF2);
    world.add(bF1);
    world.setCamera(new Camera() {

      @Override
      public Vector getPosition() {
        return new Vector(400, 100);
      }
View Full Code Here


  }

  @Override
  public Camera getCamera() {
    // Eine Kamera die immer auf das Zentrum der Engine fixiert ist
    return new Camera() {
      private static final long serialVersionUID = -8443861917665677557L;

      @Override
      public Vector getPosition() {
        return new Vector(Engine.getInstance().getWidth() / 2.0f,
View Full Code Here

    // Spielfigur
   
    // final Body figure = world.addFigure(117.0f, -30.0f);
   
    // Kamera Einstellung
    this.simulatedWorld.setCamera(new Camera() {
      public ROVector2f getPosition() {
        return figure.getPosition();
      }

      public void poll(Input input, float secounds) { }
View Full Code Here

TOP

Related Classes of com.googlecode.jumpnevolve.graphics.world.Camera

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.