Skip to content

Commit

Permalink
Add new undefined function
Browse files Browse the repository at this point in the history
  • Loading branch information
norm2782 committed Aug 23, 2010
1 parent 8a90db1 commit f20b2e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HaskBan.hs
Expand Up @@ -65,6 +65,9 @@ module HaskBan (main) where
movePlayer g t = liftM t getPlayerPosition >>= \position ->
when (canMoveTo g position t) (putPlayerPosition position)

moveBox :: GameMap -> Point -> Translation -> SokobanState()
moveBox = undefined

-- Verify if the player can move to the point that is provided.
-- In case the new pointis a box, the next position needs to be
-- checked as well. Hence, the original translation function is provided as well.
Expand Down

0 comments on commit f20b2e5

Please sign in to comment.