class Scene(object): def __init__(self, robot): # XXX: try to remove arg self.robot = RobotWidget(robot) def add_to(self, display): self.robot.add_to(display)
def __init__(self, robot): # XXX: try to remove arg self.robot = RobotWidget(robot)