Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Created June 8, 2021 23:59
Embed
What would you like to do?
CTB 8-1
if (hitStatus(blackCenterX, blackCenterY)) {
// Game Over!
if (timer != null) {
timer.cancel();
timer = null;
}
// 結果画面へ
Intent intent = new Intent(getApplicationContext(), ResultActivity.class);
intent.putExtra("SCORE", score);
startActivity(intent);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment