implemented Mtlstats.Control.EditPlayer.selectPlayerC

This commit is contained in:
Jonathan Lamothe
2019-11-01 03:05:40 -04:00
parent b19f1386ec
commit e754d887c5
2 changed files with 12 additions and 2 deletions

View File

@@ -47,7 +47,8 @@ module Mtlstats.Prompt (
goalieNamePrompt,
selectGameGoaliePrompt,
goalieMinsPlayedPrompt,
goalsAllowedPrompt
goalsAllowedPrompt,
playerToEditPrompt
) where
import Control.Monad (when)
@@ -327,5 +328,8 @@ goalsAllowedPrompt = numPrompt "Goals allowed: " $ \n -> do
modify $ progMode.gameStateL.goaliesRecorded .~ True
modify recordGoalieStats
playerToEditPrompt :: Prompt
playerToEditPrompt = undefined
drawSimplePrompt :: String -> ProgState -> C.Update ()
drawSimplePrompt pStr s = C.drawString $ pStr ++ s^.inputBuffer