Ejemplo n.º 1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    gameFase = new GameFase();

    manager = new AGGameManager(this, false);
    manager.addScene(new IntroScene(manager));
    manager.addScene(new MenuScene(manager));
    manager.addScene(new Credits(manager));
    manager.addScene(new Game(manager, gameFase));
    manager.addScene(new GameOver(manager, gameFase));
  }
Ejemplo n.º 2
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   manager.release();
   manager = null;
 }
Ejemplo n.º 3
0
 @Override
 protected void onPostResume() {
   super.onPostResume();
   manager.onResume();
 }