# Path: pyGBot/Plugins/games/fluxxfiles/fluxx.py
# class FluxxCard(Card):
#     def __init__(self, title, short_title, description):
#         Card.__init__(self, title, short_title)
#         self.description = description.strip()
# 
#     def play(self, player):
#         pass
#     
#     def __str__(self):
#         return "%s (%s)" % (self.title, self.short_title)
# 
#     @property
#     def card_info(self):
#         return """
# %s (%s)
# --------------------------------------
# Card Type: %s
# Information: %s
# %s
#         """.strip() % \
#         (self.title, self.short_title, self.type,
#          self.information, "Description: %s" % self.description \
#          if self.description != "" else "")


from pyGBot.Plugins.games.fluxxfiles.fluxx import FluxxCard
from pyGBot.Plugins.games.fluxxfiles.game import pretty_print_list


class GoalCard(FluxxCard):
    information = """
When you play this card, place it face up in the center
of the table. Discard the previous Goal, if any.
    """.strip()
    type = "Goal"
    def __init__(self, title, short_title, description):

# Path: pyGBot/Plugins/games/fluxxfiles/fluxx.py
# class FluxxCard(Card):
#     def __init__(self, title, short_title, description):
#         Card.__init__(self, title, short_title)
#         self.description = description.strip()
# 
#     def play(self, player):
#         pass
#     
#     def __str__(self):
#         return "%s (%s)" % (self.title, self.short_title)
# 
#     @property
#     def card_info(self):
#         return """
# %s (%s)
# --------------------------------------
# Card Type: %s
# Information: %s
# %s
#         """.strip() % \
#         (self.title, self.short_title, self.type,
#          self.information, "Description: %s" % self.description \
#          if self.description != "" else "")


# Path: pyGBot/Plugins/games/fluxxfiles/goals.py
from pyGBot.Plugins.games.fluxxfiles.fluxx import FluxxCard
from pyGBot.Plugins.games.fluxxfiles.game import pretty_print_list



class GoalCard(FluxxCard):
    information = """
When you play this card, place it face up in the center
of the table. Discard the previous Goal, if any.
    """.strip()
    type = "Goal"
    def __init__(self, title, short_title, description):

        FluxxCard.__init__(self, title, short_title, description)