def __init__(self,location,shape,plot): self.location = location self.shape = shape self.plot = plot self.env = Environment(self.shape) self.agent = Agent() self.child = Child(self.env.state)