diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-19 19:26:05 +0100 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-19 19:26:05 +0100 |
commit | 5878fd7a3d5cbe80b7ead67b1aa75fc55ff06697 (patch) | |
tree | fc99dd478e3cc7dd4f78b9ddef650a9397380495 /src/eu/equalparts/cardbase/decks | |
parent | 67a3ab837c6e62e8b070999ca8fed5877e22494f (diff) |
Sorted out new cardbase format, need to do decks next
Diffstat (limited to 'src/eu/equalparts/cardbase/decks')
-rw-r--r-- | src/eu/equalparts/cardbase/decks/StandaloneDeck.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/eu/equalparts/cardbase/decks/StandaloneDeck.java b/src/eu/equalparts/cardbase/decks/StandaloneDeck.java index 4c6d25c..f015a91 100644 --- a/src/eu/equalparts/cardbase/decks/StandaloneDeck.java +++ b/src/eu/equalparts/cardbase/decks/StandaloneDeck.java @@ -1,12 +1,13 @@ package eu.equalparts.cardbase.decks; -import java.util.HashSet; -import java.util.Set; +import java.util.HashMap; +import java.util.Map; import eu.equalparts.cardbase.cards.Card; public class StandaloneDeck extends Deck { - public Set<Card> cards = new HashSet<Card>(); + private Map<Integer, Card> cards = new HashMap<Integer, Card>(); + private Map<Integer, Integer> counts = new HashMap<Integer, Integer>(); } |