Skip to content

Conversation

damonkelley
Copy link
Owner

In order to show that dialog, I let the MessageViewWrapper accept a listener, and started notifying that listener when the game is over. The GameActivity now implements the OnGameOverListener interface.

If the user chooses to play again, the activity is restarted with the original intent. Otherwise, the activity is allowed to finish.

0zuydayh4w

@damonkelley
Copy link
Owner Author

Once #12 is merged, I will likely close this PR and create a new one to merge directly into master. (This one has the merge target set to android-choose-player-types)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant