Пример #1
0
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)
Пример #2
0
 def __init__(self, robot):  # XXX: try to remove arg
     self.robot = RobotWidget(robot)
Пример #3
0
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)
Пример #4
0
 def __init__(self, robot): # XXX: try to remove arg
     self.robot = RobotWidget(robot)