Back to project page ShootEmOff.
The source code is released under:
Copyright (c) 2011 Andrey Moiseev, http://o2genum.ru Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
If you think the Android project ShootEmOff 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.shootemoff.game; /*from w w w. ja v a 2s. c om*/ import android.content.Intent; import com.shootemoff.framework.Screen; import com.shootemoff.framework.impl.AndroidGame; public class GameActivity extends AndroidGame { @Override public Screen getStartScreen() { OptionsObject options = GetGameOptions(); return new GameScreen(this, options); } public void finishActivity(String score) { Intent returnIntent = new Intent(); returnIntent.putExtra("result",score); setResult(RESULT_OK, returnIntent); finish(); } private OptionsObject GetGameOptions() { OptionsObject options = new OptionsObject(); return options; } public void onBackPressed(){ super.onBackPressed(); } }