implemented getGoalieNumC
This commit is contained in:
parent
67bb12920c
commit
a9b5ada114
|
@ -341,7 +341,12 @@ confirmCreatePlayerC = Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
getGoalieNumC :: Controller
|
getGoalieNumC :: Controller
|
||||||
getGoalieNumC = undefined
|
getGoalieNumC = Controller
|
||||||
|
{ drawController = drawPrompt goalieNumPrompt
|
||||||
|
, handleController = \e -> do
|
||||||
|
promptHandler goalieNumPrompt e
|
||||||
|
return True
|
||||||
|
}
|
||||||
|
|
||||||
getGoalieNameC :: Controller
|
getGoalieNameC :: Controller
|
||||||
getGoalieNameC = undefined
|
getGoalieNameC = undefined
|
||||||
|
|
|
@ -40,7 +40,8 @@ module Mtlstats.Prompt (
|
||||||
recordGoalPrompt,
|
recordGoalPrompt,
|
||||||
recordAssistPrompt,
|
recordAssistPrompt,
|
||||||
pMinPlayerPrompt,
|
pMinPlayerPrompt,
|
||||||
assignPMinsPrompt
|
assignPMinsPrompt,
|
||||||
|
goalieNumPrompt
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Control.Monad (when)
|
import Control.Monad (when)
|
||||||
|
@ -245,5 +246,8 @@ assignPMinsPrompt :: Prompt
|
||||||
assignPMinsPrompt = numPrompt "Penalty minutes: " $
|
assignPMinsPrompt = numPrompt "Penalty minutes: " $
|
||||||
modify . assignPMins
|
modify . assignPMins
|
||||||
|
|
||||||
|
goalieNumPrompt :: Prompt
|
||||||
|
goalieNumPrompt = undefined
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user