def __init__(self): Image.__init__(self, filename=conf.IMG_GIFT) obj_path = AccelerationPath(startLocation=(-100,-100)) self.set_path(obj_path) self.path.set_gravity(0, 0.00013) self.bomb = False
def __init__(self): Image.__init__(self, filename=conf.IMG_ALIEN_SHIP) self.set_position(-90, -90) self.object_dropped = 0 self.set_path(AlienShipPath())