Back to project page AmazingGame.
The source code is released under:
GNU General Public License
If you think the Android project AmazingGame listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package game; //from w ww. j av a 2s . c om import game.helpers.*; import game.screens.GameScreen; import com.badlogic.gdx.Game; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; public class MyGdxGame extends Game { SpriteBatch batch; Texture img; @Override public void create () { // batch = new SpriteBatch(); // img = new Texture("badlogic.jpg"); AssetLoader.load(); setScreen(new GameScreen(2, this)); } public void changeGameScreen(Screen nextScreen) { setScreen(nextScreen); } }