def __init__(self): tools.init() UpdateAble.__init__(self) tools.draw.append(self.draw) tools.update.append(self._update_keys)
def __init__(self, position=[0, 0]): from static import tools pumpkin_image = tools.loadImage("foo.png") DrawAble.__init__(self, pumpkin_image, position) UpdateAble.__init__(self)