implemented goalieMinsPlayedPrompt

This commit is contained in:
Jonathan Lamothe 2019-10-30 23:58:51 -04:00
parent a6395ada9c
commit 4fa707bc0f

View File

@ -313,7 +313,8 @@ selectGameGoaliePrompt = selectGoaliePrompt "Which goalie played this game: " $
-- | Prompts for the number of minutes the goalie has played -- | Prompts for the number of minutes the goalie has played
goalieMinsPlayedPrompt :: Prompt goalieMinsPlayedPrompt :: Prompt
goalieMinsPlayedPrompt = undefined goalieMinsPlayedPrompt = numPrompt "Minutes played: " $
modify . (progMode.gameStateL.goalieMinsPlayed ?~)
drawSimplePrompt :: String -> ProgState -> C.Update () drawSimplePrompt :: String -> ProgState -> C.Update ()
drawSimplePrompt pStr s = C.drawString $ pStr ++ s^.inputBuffer drawSimplePrompt pStr s = C.drawString $ pStr ++ s^.inputBuffer