player selection branch
This commit is contained in:
1 parent
43c2f6191d
commit
b19f1386ec
2 files changed
+22
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user