Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Created June 10, 2021 01:06
Show Gist options
  • Save codeforfun-jp/42988a3d48fab964a27c2548d5ce3e1c to your computer and use it in GitHub Desktop.
Save codeforfun-jp/42988a3d48fab964a27c2548d5ce3e1c to your computer and use it in GitHub Desktop.
CTB 11-3
private boolean action_flg = false;
private boolean start_flg = false;
// Sound
private SoundPlayer soundPlayer;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
soundPlayer = new SoundPlayer(this);
scoreLabel = findViewById(R.id.scoreLabel);
startLabel = findViewById(R.id.startLabel);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment