예제 #1
0
    def AddTexture(self, Display, ID, Filename):
        if ID == "":
            return

        NewTexture = Texture()
        if not NewTexture.Load(Display, Filename):
            Log("Unable to Load Texture:", ID)
            return

        self.TexList[ID] = NewTexture