Hi again,
I’m currently trying to port a Java script to Python but I’m stuck on something that goes like this:
class Agent {
float x, y;
float t;
Agent() {
findStart();
}
void findStart() {
...
On line 5 it seems the class is calling itself from within (not sure what I’m saying makes sense). How would I translate this to Python ?
class Agent(object):
def __init__(self):
self.x = 0.0
self.y = 0.0
self.t = 0.0
???
def findStart(self):