Back to project page BobEngine.
The source code is released under:
GNU Lesser General Public License
If you think the Android project BobEngine 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 bobby.engine.touchinput; /*from w w w .j a v a2 s .co m*/ import android.content.Context; import bobby.engine.bobengine.BobView; import bobby.engine.bobengine.Graphic; import bobby.engine.bobengine.R; public class GameView extends BobView { // Rooms public StartRoom start; // Graphics public static Graphic icon; public GameView(Context context) { super(context); // TODO Initialization start = new StartRoom(this); } @Override protected void onCreateGraphics() { // TODO Load graphics icon = getGraphicsHelper().addGraphic(R.drawable.ic_launcher); } @Override protected void onCreateRooms() { // TODO Set up rooms start.set(); goToRoom(start); } }