I don't understand the line GameObjects.objects[self.game_objects] = self | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I don't understand the line GameObjects.objects[self.game_objects] = self

What is the objects command? In class.objects...and why is self.str in parenthesis?

6th Jan 2017, 7:03 PM
Devin
1 Answer
0
Nevermind...objects is a dict.. I get it.
6th Jan 2017, 7:04 PM
Devin