player selection branch

This commit is contained in:
Jonathan Lamothe
2019-11-01 02:55:43 -04:00
parent 43c2f6191d
commit b19f1386ec
2 changed files with 22 additions and 2 deletions

View File

@@ -21,8 +21,15 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
module Mtlstats.Control.EditPlayer (editPlayer) where
import Lens.Micro ((^.))
import Mtlstats.Types
-- | Dispatcher/controller for the player edit mode
editPlayer :: EditPlayerState -> Controller
editPlayer = undefined
editPlayer eps
| null $ eps^.epsSelectedPlayer = selectPlayerC
| otherwise = undefined
selectPlayerC :: Controller
selectPlayerC = undefined