Package age

Examples of age.GameEngine


import age.GameEngine;

public class Main {

  public static void main(String[] args){
    GameEngine game = new GameEngine();
    game.addGameController(0, new Fase1());
    game.setSpeed(1);
    game.run();
  }
View Full Code Here


   * Carrega um gameController para fins de teste.
   * @param gc GameController a ser rodado.
   * @param engineSpeed Velocidade da GameEngine (0 para velocidade m�xima).
   */
  public static void testGameController(GameController gc, int engineSpeed){
    GameEngine engine = new GameEngine();
    engine.addGameController(0, gc);
    engine.setSpeed(engineSpeed);
    engine.run();
  }
View Full Code Here

import age.GameEngine;

public class Main {

  public static void main(String[] args){
    GameEngine game = new GameEngine();
    //game.addGameController(0, new Fase1());
    game.setSpeed(1);
    game.run();
  }
View Full Code Here

import age.GameEngine;

public class Main {

  public static void main(String[] args){
    GameEngine game = new GameEngine();
    game.addGameController(0, new LocalDeTeste());
    game.setSpeed(1);
    game.run();
  }
View Full Code Here

TOP

Related Classes of age.GameEngine

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.