1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
attack-on-blocks/textures.py

17 lines
344 B
Python
Raw Normal View History

2015-04-16 10:00:39 +01:00
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()