diff options
Diffstat (limited to 'src/setup/level.py')
-rw-r--r-- | src/setup/level.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/setup/level.py b/src/setup/level.py deleted file mode 100644 index 5806830..0000000 --- a/src/setup/level.py +++ /dev/null @@ -1,32 +0,0 @@ -''' - -''' -from lxml import etree # using lxml for XML processing -from utils import strs # string constants -from utils import utils # some XML utilities - - -class Level(object): - ''' - ''' - - def __init__(self, path): - '''Constructor''' - - #open up the mlvl file and read in its basic properties - root = utils.getXMLRoot(path) - self.name = root.xpath(strs.XP_LevelName)[0] - self.description = root.xpath(strs.XP_LevelName)[0] - self.path = path - pass - - def getName(self): - '''Returns the name of this level''' - return self.name - - def getDescription(self): - '''Returns the description of this level''' - return self.description - - -
\ No newline at end of file |