Work on Falling carriage state
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ makePathBetween = makePathUsing $ not . pathEdgeObstructed
|
||||
|
||||
makePathBetween' :: (Point2 -> Point2 -> World -> Bool) -> (Set.Set EdgeObstacle -> Bool)
|
||||
-> Point2 -> Point2 -> World -> Maybe [Int]
|
||||
makePathBetween' t1 t2 = makePathUsing' t1 $ t2
|
||||
makePathBetween' = makePathUsing'
|
||||
|
||||
pathEdgeObstructed :: Set.Set EdgeObstacle -> Bool
|
||||
pathEdgeObstructed pe = any (`Set.member` pe) [WallObstacle WallNotAutoOpen, ChasmObstacle]
|
||||
|
||||
Reference in New Issue
Block a user