This could be simplified to maybe just passing in the ship's reference and extracting this mess inside the __init__.
Projectiles have a cleanup flag on them - flipped to True if the Game detects they've hit a screen boundary. Would extend this check to asteroid collision after those are implemented.
ref #11
Added some basic scaffolding for handling projectiles:
Right now, projectiles are living in a List, and being appended using some current information from the ship that fired them
This could be simplified to maybe just passing in the ship's reference and extracting this mess inside the
__init__
.Projectiles have a
cleanup
flag on them - flipped toTrue
if the Game detects they've hit a screen boundary. Would extend this check to asteroid collision after those are implemented.