Open Sean-Nishi opened 8 months ago
https://www.geeksforgeeks.org/pass-by-reference-vs-value-in-python/
if object is mutable (list), is pass by reference if object is immutable (tuple), is pass by value
Remove two list parameters from character's children's update method. Should be "good_sprites" and "bad_sprites"
https://www.geeksforgeeks.org/pass-by-reference-vs-value-in-python/
if object is mutable (list), is pass by reference if object is immutable (tuple), is pass by value
Remove two list parameters from character's children's update method. Should be "good_sprites" and "bad_sprites"