-
-
Save mukeshsolanki/6c9f8d0f8aaed3326b0827bb93100db8 to your computer and use it in GitHub Desktop.
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
private lateinit var scope: CoroutineScope // Needed by our game engine | |
// Our instance of the game engine | |
private var gameEngine = GameEngine( | |
scope = lifecycleScope, | |
onGameEnded = { | |
//TODO show Endgame screen | |
}, | |
onFoodEaten = { | |
//TODO Increment game srore | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment