| Constructor and Description |
|---|
JSONLoader() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbilityCard> |
loadAbilities()
Loads the
AbilityCard objects from their respective data |
java.util.List<AttackCard> |
loadAttacks()
Loads the
AttackCard objects from their respective data |
java.util.List<ImmutableCard> |
loadCards()
Loads the
ImmutableCard objects from their respective data |
java.util.List<CardSet> |
loadCardSets()
Loads the
CardSet objects from their respective data |
java.util.List<ThemeDeck> |
loadThemeDecks()
Loads the
ThemeDeck objects from their respective data |
public java.util.List<ImmutableCard> loadCards() throws java.lang.Exception
TCGLoaderImmutableCard objects from their respective datapublic java.util.List<AttackCard> loadAttacks() throws java.lang.Exception
TCGLoaderAttackCard objects from their respective dataloadAttacks in interface TCGLoaderjava.lang.Exception - Thrown if an error occurs during loadingpublic java.util.List<AbilityCard> loadAbilities() throws java.lang.Exception
TCGLoaderAbilityCard objects from their respective dataloadAbilities in interface TCGLoaderjava.lang.Exception - Thrown if an error occurs during loadingpublic java.util.List<ThemeDeck> loadThemeDecks() throws java.lang.Exception
TCGLoaderThemeDeck objects from their respective dataloadThemeDecks in interface TCGLoaderjava.lang.Exception - Thrown if an error occurs during loadingpublic java.util.List<CardSet> loadCardSets() throws java.lang.Exception
TCGLoaderCardSet objects from their respective dataloadCardSets in interface TCGLoaderjava.lang.Exception - Thrown if an error occurs during loading