added EditStandings mode
This commit is contained in:
parent
802bf7314e
commit
a909b9ba7a
|
@ -56,6 +56,7 @@ dispatch s = case s^.progMode of
|
||||||
| otherwise -> confirmCreateGoalieC
|
| otherwise -> confirmCreateGoalieC
|
||||||
EditPlayer eps -> editPlayerC eps
|
EditPlayer eps -> editPlayerC eps
|
||||||
EditGoalie egs -> editGoalieC egs
|
EditGoalie egs -> editGoalieC egs
|
||||||
|
EditStandings -> undefined
|
||||||
|
|
||||||
mainMenuC :: Controller
|
mainMenuC :: Controller
|
||||||
mainMenuC = Controller
|
mainMenuC = Controller
|
||||||
|
|
|
@ -239,6 +239,7 @@ data ProgMode
|
||||||
| CreateGoalie CreateGoalieState
|
| CreateGoalie CreateGoalieState
|
||||||
| EditPlayer EditPlayerState
|
| EditPlayer EditPlayerState
|
||||||
| EditGoalie EditGoalieState
|
| EditGoalie EditGoalieState
|
||||||
|
| EditStandings
|
||||||
|
|
||||||
instance Show ProgMode where
|
instance Show ProgMode where
|
||||||
show MainMenu = "MainMenu"
|
show MainMenu = "MainMenu"
|
||||||
|
@ -249,6 +250,7 @@ instance Show ProgMode where
|
||||||
show (CreateGoalie _) = "CreateGoalie"
|
show (CreateGoalie _) = "CreateGoalie"
|
||||||
show (EditPlayer _) = "EditPlayer"
|
show (EditPlayer _) = "EditPlayer"
|
||||||
show (EditGoalie _) = "EditGoalie"
|
show (EditGoalie _) = "EditGoalie"
|
||||||
|
show EditStandings = "EditStandings"
|
||||||
|
|
||||||
-- | The game state
|
-- | The game state
|
||||||
data GameState = GameState
|
data GameState = GameState
|
||||||
|
|
Loading…
Reference in New Issue
Block a user