示例#1
0
 def __init__(self, title, short_title=""):
     if short_title == "":
         if " " in title:
             s = ''.join(zip(*title.split())[0]) # Figure this one out... :)
         else:
             s = title[:2].upper()
         short_title = s
     short_title = self.type[0] + "_" + short_title
     FluxxCard.__init__(self, title, short_title, "")
示例#2
0
 def __init__(self, title, short_title=""):
     if short_title == "":
         if " " in title:
             s = ''.join(
                 zip(*title.split())[0])  # Figure this one out... :)
         else:
             s = title[:2].upper()
         short_title = s
     short_title = self.type[0] + "_" + short_title
     FluxxCard.__init__(self, title, short_title, "")
示例#3
0
文件: rules.py 项目: magcius/pyGBot
 def __init__(self, title, short_title, description):
     FluxxCard.__init__(self, title, short_title, description)
     self.draw_amount = -1
     self.play_amount = -1
     self.hand_limit = -1
     self.keeper_limit = -1
示例#4
0
文件: goals.py 项目: chaos95/fluxxbot
 def __init__(self, title, short_title, description):
     FluxxCard.__init__(self, title, short_title, description)
示例#5
0
文件: goals.py 项目: hastur42/pyGBot
 def __init__(self, title, short_title, description):
     FluxxCard.__init__(self, title, short_title, description)
示例#6
0
 def __init__(self, title, short_title, description):
     FluxxCard.__init__(self, title, short_title, description)
     self.draw_amount = -1
     self.play_amount = -1
     self.hand_limit = -1
     self.keeper_limit = -1