예제 #1
0
파일: table.py 프로젝트: subotto/subtracker
    def __init__(self, index, name, location_x, foosmen_locations, shift_max):
        self.index = index
        self.name = name

        self.location_x = location_x

        self.transform = transformation.get_translation(location_x, 0)

        self.shift_max = shift_max
        self.rotation_max = PI

        self.foosmen = [FoosmanType(self, i, y) for i, y in enumerate(foosmen_locations)]
예제 #2
0
파일: table.py 프로젝트: subotto/subtracker
    def __init__(self, rod, index, location_y):
        self.rod = rod
        self.index = index
        self.location_y = location_y

        self.transform = transformation.get_translation(0, location_y)