Skip to content

Instantly share code, notes, and snippets.

@mukeshsolanki
Created May 27, 2022 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mukeshsolanki/77d6488d85bc362e5384d0d78aed0e94 to your computer and use it in GitHub Desktop.
Save mukeshsolanki/77d6488d85bc362e5384d0d78aed0e94 to your computer and use it in GitHub Desktop.
class GameEngine(
private val scope: CoroutineScope,
private val onGameEnded: () -> Unit,
private val onFoodEaten: () -> Unit
) {
init {
scope.launch {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment