added year-to-date and lifetime player edit modes

This commit is contained in:
Jonathan Lamothe 2019-11-16 11:01:29 -05:00
parent fba5f1b96c
commit 0efac07a33
2 changed files with 10 additions and 0 deletions

View File

@ -40,6 +40,8 @@ editPlayerC eps
EPNumber -> numberC EPNumber -> numberC
EPName -> nameC EPName -> nameC
EPPosition -> positionC EPPosition -> positionC
EPYtd -> ytdC
EPLifetime -> lifetimeC
EPYtdGoals -> ytdGoalsC EPYtdGoals -> ytdGoalsC
EPYtdAssists -> ytdAssistsC EPYtdAssists -> ytdAssistsC
EPYtdPMin -> ytdPMinC EPYtdPMin -> ytdPMinC
@ -94,6 +96,12 @@ positionC = Controller
return True return True
} }
ytdC :: Controller
ytdC = undefined
lifetimeC :: Controller
lifetimeC = undefined
ytdGoalsC :: Controller ytdGoalsC :: Controller
ytdGoalsC = Controller ytdGoalsC = Controller
{ drawController = drawPrompt editPlayerYtdGoalsPrompt { drawController = drawPrompt editPlayerYtdGoalsPrompt

View File

@ -335,6 +335,8 @@ data EditPlayerMode
| EPNumber | EPNumber
| EPName | EPName
| EPPosition | EPPosition
| EPYtd
| EPLifetime
| EPYtdGoals | EPYtdGoals
| EPYtdAssists | EPYtdAssists
| EPYtdPMin | EPYtdPMin