allow ProgMode to handle goalie creation

This commit is contained in:
Jonathan Lamothe
2019-10-30 01:29:16 -04:00
parent 1782c0bc48
commit 2a94e99371
2 changed files with 15 additions and 0 deletions
+2
View File
@@ -196,12 +196,14 @@ data ProgMode
| NewSeason
| NewGame GameState
| CreatePlayer CreatePlayerState
| CreateGoalie CreateGoalieState
instance Show ProgMode where
show MainMenu = "MainMenu"
show NewSeason = "NewSeason"
show (NewGame _) = "NewGame"
show (CreatePlayer _) = "CreatePlayer"
show (CreateGoalie _) = "CreateGoalie"
-- | The game state
data GameState = GameState