Created
March 5, 2019 09:21
-
-
Save EliteIntegrity/49a884cfcb7353ed7e658cd5ccd9caa3 to your computer and use it in GitHub Desktop.
Adding a new property to the KotlinInvaersView class shown with some context to make it clear where it goes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
... | |
// A Canvas and a Paint object | |
private var canvas: Canvas = Canvas() | |
private val paint: Paint = Paint() | |
// The players ship | |
private var playerShip: PlayerShip = PlayerShip(context, size.x, size.y) | |
// The score | |
private var score = 0 | |
... | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment