Example #1
0
 def build_mob(self, monster, location):
     mon = Monster(monster['file'],self)
     mon.rect.x = int(location['x'])*50
     mon.rect.y = int(location['y'])*50
     if mon.is_boss():
         self.boss = True
         if self.boss_beat:
             return False
         else:
             self.boss_mob = mon
     return mon