implemented editGoalieC

This commit is contained in:
Jonathan Lamothe 2019-11-09 02:01:44 -05:00
parent 9a179ed166
commit dde0291321

View File

@ -21,8 +21,18 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
module Mtlstats.Control.EditGoalie (editGoalieC) where
import Lens.Micro ((^.))
import Mtlstats.Types
-- | Controller/dispatcher for editing a 'Goalie'
editGoalieC :: EditGoalieState -> Controller
editGoalieC = undefined
editGoalieC egs
| null $ egs^.egsSelectedGoalie = selectC
| otherwise = editC
selectC :: Controller
selectC = undefined
editC :: Controller
editC = undefined