More streaming refactoring
This commit is contained in:
@@ -336,7 +336,7 @@ anythingHitCirc :: Float -> Point2 -> Point2 -> World -> Bool
|
||||
anythingHitCirc rad sp ep w = isJust $ hitCr <|> hitWl
|
||||
where
|
||||
hitCr = fst <$> collideCircCrsPoint sp ep rad (_creatures w)
|
||||
hitWl = fst <$> collideCircWalls sp ep rad (wallsNearPoint ep w)
|
||||
hitWl = fst <$> collideCircWallsList sp ep rad (wallsNearPoint' ep w)
|
||||
-- this should probably be wallsOnLine or something
|
||||
|
||||
explodeRemoteRocket
|
||||
|
||||
Reference in New Issue
Block a user