Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.35 KB | None | 0 0
  1. override fun onServerClicked() {
  2.         stopPreviousGame()
  3.         createGame(GameType.SERVER)
  4.  
  5.         gameConnector = GameHost(
  6.                 connectionEstablished = { launch(UI) { mView?.showGameOptions(true) } },
  7.                 response = { response -> gameManager?.setClientMove(GameOption.valueOf(response))?.let { checkEndGame(it) } })
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement