コード例 #1
0
ファイル: collection.py プロジェクト: Templarrr/hearthtools
 def fill_collection_empty(self):
     all_cards = get_all_cards_data()
     for card in all_cards:
         self.cards[card.name] = 0
コード例 #2
0
 def fill_collection_empty(self):
     all_cards = get_all_cards_data()
     for card in all_cards:
         self.cards[card.name] = 0
コード例 #3
0
ファイル: collection.py プロジェクト: Templarrr/hearthtools
 def fill_collection_manual(self):
     all_cards = get_all_cards_data()
     for card in all_cards:
         amount = int(input("(%s):" % card.name))
         if amount > 0 and amount < 3:
             self.cards[card.name] = amount
コード例 #4
0
 def fill_collection_manual(self):
     all_cards = get_all_cards_data()
     for card in all_cards:
         amount = int(input("(%s):" % card.name))
         if amount > 0 and amount < 3:
             self.cards[card.name] = amount