added confirmGoalDataFlag field to GameState
This commit is contained in:
parent
fc20259a48
commit
739db189ae
|
@ -58,6 +58,7 @@ module Mtlstats.Types (
|
||||||
pointsAccounted,
|
pointsAccounted,
|
||||||
goalBy,
|
goalBy,
|
||||||
assistsBy,
|
assistsBy,
|
||||||
|
confirmGoalDataFlag,
|
||||||
-- ** CreatePlayerState Lenses
|
-- ** CreatePlayerState Lenses
|
||||||
cpsNumber,
|
cpsNumber,
|
||||||
cpsName,
|
cpsName,
|
||||||
|
@ -213,6 +214,7 @@ data GameState = GameState
|
||||||
, _assistsBy :: [Int]
|
, _assistsBy :: [Int]
|
||||||
-- ^ The index numbers of the players who have assisted the most
|
-- ^ The index numbers of the players who have assisted the most
|
||||||
-- recently entered goal
|
-- recently entered goal
|
||||||
|
, _confirmGoalDataFlag :: Bool
|
||||||
} deriving (Eq, Show)
|
} deriving (Eq, Show)
|
||||||
|
|
||||||
-- | The type of game
|
-- | The type of game
|
||||||
|
@ -511,6 +513,7 @@ newGameState = GameState
|
||||||
, _pointsAccounted = 0
|
, _pointsAccounted = 0
|
||||||
, _goalBy = Nothing
|
, _goalBy = Nothing
|
||||||
, _assistsBy = []
|
, _assistsBy = []
|
||||||
|
, _confirmGoalDataFlag = False
|
||||||
}
|
}
|
||||||
|
|
||||||
-- | Constructor for a 'CreatePlayerState'
|
-- | Constructor for a 'CreatePlayerState'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user