Пример #1
0
 def make_boss_class(self):
     boss = MC.generate_class('..//start//boss.xml')
     return boss
Пример #2
0
 def make_class2(self):
     for level in os.listdir("../levels"):
         if level[-4:] == '.xml' and level[:-4] == str(self.get_level()):
             current_level = MC.generate_class('..//levels//'+str(level))
             return current_level
Пример #3
0
 def make_level_class(self):
     current_level = MC.generate_class('..//levels//'+str(self.get_level())+'.xml')
     return current_level
Пример #4
0
 def make_class(self):
     '''
     uses mk_class from Q2API
     '''
     current_user = MC.generate_class('..//start//current_user.xml')
     return current_user
Пример #5
0
__author__ = "THubbard"
import Q2API.xml.mk_class as make


make.generate_class("the_map")