

def __init__(self):
    super(TestLayer, self).__init__()
    (x, y) = director.get_window_size()
    parent = Sprite('grossinis_sister1.png')
    self.add(parent)
    parent.position = ((x // 2), (y // 2))
    sprite = Sprite('grossinis_sister2.png')
    sprite.position = (100, 140)
    sprite.do(RotateBy(duration=2, angle=360))
    sprite.do(ScaleBy(duration=2, scale=2))
    sprite.do(MoveBy(duration=2, delta=(200, 0)))
    parent.add(sprite)
    sprite.opacity = 128
    parent.sprite1 = sprite
    sprite = Sprite('grossini.png')
    self.add(sprite)
    sprite.position = (100, 140)
    sprite.do(RotateBy(duration=2, angle=360))
    sprite.do(ScaleBy(duration=2, scale=2))
    sprite.do(MoveBy(duration=2, delta=(200, 0)))
    self.sprite2 = sprite

dataset/ETHPy150Open los-cocos/cocos/test/test_sprite_aabb.py TestLayer.__init__/VarMisuse@147/177 `self`->`parent`