What’s wrong with creating an instance of the class and throwing it in a list?
entity_list = []
for i in range(10000000):
entity_list.append(Entity())
solved Pygame, spawning an infinite number of enemies? [closed]
What’s wrong with creating an instance of the class and throwing it in a list?
entity_list = []
for i in range(10000000):
entity_list.append(Entity())
solved Pygame, spawning an infinite number of enemies? [closed]