implemented goalsAllowedC

This commit is contained in:
Jonathan Lamothe committed 2019-10-31 00:46:12 -04:00
1 parent 4fa707bc0f
commit cb0b4f9d0b
2 files changed
+14 -2

No files matched your search

+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