Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override fun onServerClicked() {
- stopPreviousGame()
- createGame(GameType.SERVER)
- gameConnector = GameHost(
- connectionEstablished = { launch(UI) { mView?.showGameOptions(true) } },
- response = { response -> gameManager?.setClientMove(GameOption.valueOf(response))?.let { checkEndGame(it) } })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement