Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- deadbullets = []
- for b in bullets:
- for w in wall:
- if b collides with w:
- deadbullets.append(b)
- for b in deadbullets:
- bullets.remove(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement