Add extra warning cries to chaseCrits
This commit is contained in:
@@ -29,8 +29,6 @@ updateBullet w bu = case _buDelayFraction bu of
|
||||
|
||||
mvBullet :: Float -> World -> Bullet -> (World, Maybe Bullet)
|
||||
mvBullet x w bu
|
||||
-- | magV (_buVel bu) < 1 = (w, Nothing)
|
||||
-- | _buTimer bu <= 0 = (endspawn w, Nothing)
|
||||
| magV (_buVel bu) < 1 || _buTimer bu <= 0 = (endspawn w, Nothing)
|
||||
| otherwise =
|
||||
second (fmap updateBulVel)
|
||||
|
||||
Reference in New Issue
Block a user