def __init__(self, spell_lvl_order=()): Player.__init__(self) self._is_attached = False if len(spell_lvl_order) is 0: self.spell_lvl_order = ('q', 'e', 'q', 'e', 'q', 'r', 'q', 'e', 'q', 'e', 'r', 'q', 'w', 'w', 'r', 'w', 'w') elif len(spell_lvl_order) is not 18: raise Exception("spell lvl order must be 18") else: self.spell_lvl_order = spell_lvl_order
def __init__(self): Pipe.__init__(self) Player.__init__(self) Base.__init__(self) self.score = self.playerIndex = self.loopIter = 0