Last active
June 4, 2020 12:09
-
-
Save dariathecracker/ac3ee80aeac78c1962d6b08f19b47e28 to your computer and use it in GitHub Desktop.
Menu mode
This file contains 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
package ioleo.tictactoe.domain | |
sealed trait MenuCommand | |
object MenuCommand { | |
case object NewGame extends MenuCommand | |
case object Resume extends MenuCommand | |
case object Quit extends MenuCommand | |
case object Invalid extends MenuCommand | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment