blob: b7db0a54c85aefa8626b7991ec9c350ec409fb13 (
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
|
package eu.equalparts.cardbase.card;
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 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);
}
}
|