Back to project page fun-gl.
The source code is released under:
Apache License
If you think the Android project fun-gl 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.sample.clean; /*from w ww. j a va2 s . c o m*/ import android.graphics.Point; import com.jcxavier.android.opengl.game.SimpleGameStage; import com.jcxavier.android.opengl.game.camera.Camera; class TestStage extends SimpleGameStage { public TestStage(final Camera camera) { super(camera); // create native objects here } @Override public void onLoad() { super.onLoad(); // create game objects here } @Override public void onLayout(Point screenSize) { super.onLayout(screenSize); // set positions here } @Override public void onUpdate(double dt) { super.onUpdate(dt); // implement your logic here } }