Skip to content

Instantly share code, notes, and snippets.

@codeforfun-jp
Created June 10, 2021 01:06
Embed
What would you like to do?
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