prompt whether or not a new player/goalie is active
This commit is contained in:
@@ -57,7 +57,14 @@ getRookieFlagC = Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
getActiveFlagC :: Controller
|
getActiveFlagC :: Controller
|
||||||
getActiveFlagC = undefined
|
getActiveFlagC = Controller
|
||||||
|
{ drawController = const $ do
|
||||||
|
C.drawString "Is this goalie active? (Y/N)"
|
||||||
|
return C.CursorInvisible
|
||||||
|
, handleController = \e -> do
|
||||||
|
modify $ progMode.createGoalieStateL.cgsActiveFlag .~ ynHandler e
|
||||||
|
return True
|
||||||
|
}
|
||||||
|
|
||||||
confirmCreateGoalieC :: Controller
|
confirmCreateGoalieC :: Controller
|
||||||
confirmCreateGoalieC = Controller
|
confirmCreateGoalieC = Controller
|
||||||
|
|||||||
@@ -61,7 +61,14 @@ getRookieFlagC = Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
getActiveFlagC :: Controller
|
getActiveFlagC :: Controller
|
||||||
getActiveFlagC = undefined
|
getActiveFlagC = Controller
|
||||||
|
{ drawController = const $ do
|
||||||
|
C.drawString "Is the player active? (Y/N)"
|
||||||
|
return C.CursorInvisible
|
||||||
|
, handleController = \e -> do
|
||||||
|
modify $ progMode.createPlayerStateL.cpsActiveFlag .~ ynHandler e
|
||||||
|
return True
|
||||||
|
}
|
||||||
|
|
||||||
confirmCreatePlayerC :: Controller
|
confirmCreatePlayerC :: Controller
|
||||||
confirmCreatePlayerC = Controller
|
confirmCreatePlayerC = Controller
|
||||||
|
|||||||
Reference in New Issue
Block a user