implemented confirmCreateGoalieC
This commit is contained in:
@@ -33,6 +33,7 @@ module Mtlstats.Actions
|
||||
, createPlayer
|
||||
, createGoalie
|
||||
, addPlayer
|
||||
, addGoalie
|
||||
, recordGoalAssists
|
||||
, awardGoal
|
||||
, awardAssist
|
||||
@@ -167,6 +168,10 @@ addPlayer s = fromMaybe s $ do
|
||||
Just $ s & database.dbPlayers
|
||||
%~ (++[player])
|
||||
|
||||
-- | Adds the entered goalie to the roster
|
||||
addGoalie :: ProgState -> ProgState
|
||||
addGoalie = undefined
|
||||
|
||||
-- | Awards the goal and assists to the players
|
||||
recordGoalAssists :: ProgState -> ProgState
|
||||
recordGoalAssists ps = fromMaybe ps $ do
|
||||
|
||||
Reference in New Issue
Block a user