Commit 7821265f authored by Jake Howard's avatar Jake Howard
Browse files

renamed file, and added level management

parent 1dd1205c
import os, pygame, glob, logging
from collections import namedtuple
class Textures():
......@@ -26,3 +27,10 @@ class Textures():
def getTexture(self, objectName):
filename = self.path + self.pack + "\\{0}.png".format(self.images[objectName.upper()])
return pygame.image.load(filename)
Level_Template = namedtuple('Level_Template', (rows, padding, firebacks))
Levels = [
Level_Template(2, 30, 0),
Level_Template(3, 15, 0)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment