

def process_table(self):
    (w, h) = director.get_window_size()
    for (idx, item) in enumerate(self.table):
        (pos, name, score, lvl) = item
        posy = ((h - 100) - ((self.FONT_SIZE + 15) * idx))
        pos.position = (5, posy)
        name.position = (48, posy)
        score.position = ((w - 150), posy)
        lvl.position = ((w - 10), posy)
        self.add(pos, z=2)
        self.add(name, z=2)
        self.add(score, z=2)
        pos.add(lvl, z=2)

dataset/ETHPy150Open los-cocos/cocos/samples/tetrico/tetrico.py ScoresLayer.process_table/VarMisuse@153/160 `self`->`pos`