Package com.googlecode.jumpnevolve.graphics

Examples of com.googlecode.jumpnevolve.graphics.AbstractEngine.switchState()


        return new Vector(400, 100);
      }
    });

    // engine.setTargetFrameRate(Parameter.GAME_FPS_TARGET);
    engine.switchState(world);
    engine.start();
  }
}
View Full Code Here


   */
  public static void main(String[] args) {
    AbstractEngine engine = Engine.getInstance();

    engine.setTargetFrameRate(Parameter.GAME_FPS_TARGET);
    engine.switchState(new MainMenu("levels/"));
    engine.start();
  }

}
View Full Code Here

   */
  public static void main(String[] args) throws IOException {
    AbstractEngine engine = Engine.getInstance();

    engine.setTargetFrameRate(Parameter.GAME_FPS_TARGET);
    engine.switchState(new Editor(100, 100, 1));
    engine.start();
  }
}
View Full Code Here

  private void loadWithNewSettings() throws IOException {
    Log.info("Übernehme Einstellungen für den Editor");
    Dialog.disableAll();
    this.saveLevel("reload-save.txt");
    AbstractEngine engine = Engine.getInstance();
    engine.switchState(new Editor(this.parentMenu, "reload-save.txt",
        Integer.parseInt(this.settingsDialog.getContentable("Breite")
            .getContent()), Integer.parseInt(this.settingsDialog
            .getContentable("Höhe").getContent()), Integer
            .parseInt(this.settingsDialog.getContentable(
                "Subarea-Breite").getContent())));
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.