implemented goalsAllowedC

This commit is contained in:
Jonathan Lamothe
2019-10-31 00:24:54 -04:00
parent 4fa707bc0f
commit cb0b4f9d0b
2 changed files with 14 additions and 2 deletions

View File

@@ -46,7 +46,8 @@ module Mtlstats.Prompt (
goalieNumPrompt,
goalieNamePrompt,
selectGameGoaliePrompt,
goalieMinsPlayedPrompt
goalieMinsPlayedPrompt,
goalsAllowedPrompt
) where
import Control.Monad (when)
@@ -316,5 +317,9 @@ goalieMinsPlayedPrompt :: Prompt
goalieMinsPlayedPrompt = numPrompt "Minutes played: " $
modify . (progMode.gameStateL.goalieMinsPlayed ?~)
-- | Prompts for the number of goals the goalie allowed
goalsAllowedPrompt :: Prompt
goalsAllowedPrompt = undefined
drawSimplePrompt :: String -> ProgState -> C.Update ()
drawSimplePrompt pStr s = C.drawString $ pStr ++ s^.inputBuffer