17 lines
344 B
Python
17 lines
344 B
Python
|
import os
|
||
|
class Textures():
|
||
|
def __init__(self):
|
||
|
self.images = {
|
||
|
"PLAYER":"player.png",
|
||
|
"BULLET":"bullet.png",
|
||
|
"TARGET":[]
|
||
|
}
|
||
|
self.path=os.path.dirname(os.path.realpath(__file__)) + "\\resources\\texture_packs"
|
||
|
self.pac
|
||
|
def loadTexturePack(self, filename):
|
||
|
pass
|
||
|
def getTexture(self, object):
|
||
|
directory =
|
||
|
|
||
|
tex = Textures()
|