Cleanup, allow more general magShield deflection
This commit is contained in:
@@ -32,6 +32,7 @@ updateBullet w bu
|
||||
return $ partspawn p
|
||||
p = _buPos bu
|
||||
|
||||
-- do we want this to drain energy from the deflection source?
|
||||
applyMagnetsToBul :: Bullet -> World -> Bullet
|
||||
applyMagnetsToBul bu =
|
||||
foldl' (flip doMagnetBuBu) bu . _oldMagnets . _lWorld . _cWorld
|
||||
|
||||
Reference in New Issue
Block a user