Back to project page blocks-game.
The source code is released under:
Apache License
If you think the Android project blocks-game 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 cz.kotu.game.blocks; //from www. ja va2 s. co m import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Matrix4; public class BaseStage { protected final SpriteBatch batch = new SpriteBatch(); protected final BitmapFont font = new BitmapFont(); protected void init() { } protected void update() { } protected void draw(Matrix4 combined) { } public void pointerDown(float x, float y) { } public boolean touchDown(float x, float y, int pointer, int button) { return true; } public boolean touchDragged(float x, float y, int pointer) { return false; } public boolean touchUp(float x, float y, int pointer, int button) { return true; } public boolean keyTyped(char character) { return false; } }