Android Open Source - googol Googol






From Project

Back to project page googol.

License

The source code is released under:

MIT License

If you think the Android project googol listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.martinb.googol;
//ww  w .j ava  2  s .  com
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.Vector2;
import com.martinb.googol.Screens.MenuScreen;

public class Googol extends Game {
  
  Vector2 screenSize;
  
  @Override
  public void create() {
    screenSize = new Vector2(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
    setScreen(new MenuScreen(this));
  }
  
  @Override
  public void dispose() {
    super.dispose();
  }

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

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

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

  @Override
  public void resume() {
    super.resume();
  }
  
  public Vector2 getScreenSize() {
    return screenSize;
  }
}




Java Source Code List

com.martinb.googol.Googol.java
com.martinb.googol.Control.Assets.java
com.martinb.googol.Control.Input.java
com.martinb.googol.Control.Path.java
com.martinb.googol.Control.Upgrades.java
com.martinb.googol.Objects.Body.java
com.martinb.googol.Objects.Character.java
com.martinb.googol.Objects.Coin.java
com.martinb.googol.Objects.World.java
com.martinb.googol.Screens.MenuScreen.java
com.martinb.googol.Screens.Screen.java
com.martinb.googol.android.AndroidLauncher.java
com.martinb.googol.client.HtmlLauncher.java
com.martinb.googol.desktop.DesktopLauncher.java