implemented goalsAllowedC

This commit is contained in:
Jonathan Lamothe
2019-10-31 00:46:12 -04:00
parent 4fa707bc0f
commit cb0b4f9d0b
2 changed files with 14 additions and 2 deletions
+8 -1
View File
@@ -56,7 +56,14 @@ minsPlayedC = Controller
}
goalsAllowedC :: Controller
goalsAllowedC = undefined
goalsAllowedC = Controller
{ drawController = \s -> do
C.drawString $ header s
drawPrompt goalsAllowedPrompt s
, handleController = \e -> do
promptHandler goalsAllowedPrompt e
return True
}
header :: ProgState -> String
header s = unlines