예제 #1
0
파일: keepers.py 프로젝트: chaos95/fluxxbot
 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