Package com.palepail.TestGame

Source Code of com.palepail.TestGame.TestGame

package com.palepail.TestGame;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.graphics.FPSLogger;
import com.palepail.TestGame.Screens.GameScreen;
import com.palepail.TestGame.Screens.MainMenu;
import com.palepail.TestGame.Screens.SplashScreen;
import com.palepail.TestGame.Utilities.Audio;


public class TestGame extends Game {
  public static final String VERSION = "Pre Alpha 0.0.0.90";
  public static final String LOG = "Test Game";
  public static boolean DEBUG = true;
 
  FPSLogger log;
  @Override
  public void create() {   
    log = new FPSLogger();
    //setScreen(new SplashScreen(this));
    setScreen(new MainMenu(this));
  }

  @Override
  public void dispose() {
    super.dispose();
    Audio.dispose();
  }

  @Override
  public void render() {   
    super.render();
    log.log();
  }

  @Override
  public void resize(int width, int height) {
    super.resize(width, height);
  }

  @Override
  public void pause() {
    super.pause();
  }

  @Override
  public void resume() {
    super.resume();
  }
}
TOP

Related Classes of com.palepail.TestGame.TestGame

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.