Created
July 10, 2017 16:36
-
-
Save nomisRev/1f1abea91ffa0c422a4eab1cca7909d5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sealed class GameOutcome { | |
data class Won(val loserName: String): GameOutcome() | |
data class Lost(val winnerName: String): GameOutcome() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment