Skip to content

Instantly share code, notes, and snippets.

@EliteIntegrity
Created March 5, 2019 11:25
Show Gist options
  • Save EliteIntegrity/4b30be9f489e20308f24344ddce400bc to your computer and use it in GitHub Desktop.
Save EliteIntegrity/4b30be9f489e20308f24344ddce400bc to your computer and use it in GitHub Desktop.
Add a property for the SoundPlayer instance to the KotlinInvadersView class.
// For making a noise
private val soundPlayer = SoundPlayer(context)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment