blob: d6271118b77cdef6bdcb3934ebb9d1e8a6491948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package eu.equalparts.cardbase.cards;
import java.util.Map;
public class FullCardSet {
public String name;
public String code;
public String magicCardsInfoCode;
public String releaseDate;
public String border;
public String type;
public String block;
public String gathererCode;
public Map<String, Card> cards;
/**
* Searches for a card by number (the one shown on the card itself).
*
* @param number the number of the card to search.
* @return the requested {@code Card}, or null if no card is found with that number.
*/
public Card getCardByNumber(String number) {
return cards.get(number);
}
}
|