Fix of build

This commit is contained in:
Alexander Granin 2020-06-08 17:09:22 +07:00
parent 9a0dd5b5fc
commit 7bbabc8b0a

View File

@ -415,10 +415,10 @@ labyrinthApp st = do
cliToken <- cli (onStep st) (onUnknownCommand st) $ do
cmd "help" $ help
cmd "go up" $ onPlayerMove st $ makeMove st DirUp
cmd "go down" $ onPlayerMove st $ makeMove st DirDown
cmd "go left" $ onPlayerMove st $ makeMove st DirLeft
cmd "go right" $ onPlayerMove st $ makeMove st DirRight
cmd "go up" $ onPlayerMove st $ makePlayerMove st DirUp
cmd "go down" $ onPlayerMove st $ makePlayerMove st DirDown
cmd "go left" $ onPlayerMove st $ makePlayerMove st DirLeft
cmd "go right" $ onPlayerMove st $ makePlayerMove st DirRight
cmd "up" $ onPlayerMove st $ makePlayerMove st DirUp
cmd "down" $ onPlayerMove st $ makePlayerMove st DirDown