Relative Content

Tag Archive for pythonturtle-graphicspython-turtlephysics-engine

How can a Python class know what an instance is called?

I am trying to make a physics engine using python turtle. I have a class called Entity, which has parameters shape, for either a square or circle. It has a attribute inside __init__() which is called controller which is just a python Turtle