Skip to content

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
norm2782 committed Aug 25, 2010
1 parent a09de75 commit 881f7e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HaskBan/Logic.hs
Expand Up @@ -25,14 +25,14 @@ module HaskBan.Logic where
isWall = isCellType Wall

isBox :: Point -> SokoMap -> Bool
isBox p sm = (isCellType (Path Box) p sm) ||
isBox p sm = (isCellType (Path Box) p sm) ||
(isCellType (Target Box) p sm)

isPath :: Point -> SokoMap -> Bool
isPath = isCellType (Path Empty)

isTarget :: Point -> SokoMap -> Bool
isTarget p sm = isCellType (Target Box) p sm ||
isTarget p sm = isCellType (Target Box) p sm ||
isCellType (Target Empty) p sm

isCellType :: CellType -> Point -> SokoMap -> Bool
Expand Down

0 comments on commit 881f7e5

Please sign in to comment.