def __init__(self, info): TextureObject.__init__(self, 2) # store font information self.info = info # set data self.SetData(self.info.data)
def __init__(self): TextureObject.__init__(self, 2)