Back to project page catchanimals.
The source code is released under:
GNU General Public License
If you think the Android project catchanimals 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 com.ricardorb.catchanimals; // w ww. j a v a 2s . c om import com.badlogic.gdx.Game; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.ricardorb.controllers.ControllerOption; import com.ricardorb.screens.MainMenuScreen; public class CatchAnimals extends Game { public SpriteBatch batch; public final int WINDOWY = 480; public final int WINDOWX = 800; public void create() { Assets.load(); ControllerOption.load(); batch = new SpriteBatch(); this.setScreen(new MainMenuScreen(this)); } public void render() { super.render(); // important! } public void dispose() { batch.dispose(); Assets.dispose(); } }