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
TCGLoader
ImmutableCard
objects from their respective datapublic java.util.List<AttackCard> loadAttacks() throws java.lang.Exception
TCGLoader
AttackCard
objects from their respective dataloadAttacks
in interface TCGLoader
java.lang.Exception
- Thrown if an error occurs during loadingpublic java.util.List<AbilityCard> loadAbilities() throws java.lang.Exception
TCGLoader
AbilityCard
objects from their respective dataloadAbilities
in interface TCGLoader
java.lang.Exception
- Thrown if an error occurs during loadingpublic java.util.List<ThemeDeck> loadThemeDecks() throws java.lang.Exception
TCGLoader
ThemeDeck
objects from their respective dataloadThemeDecks
in interface TCGLoader
java.lang.Exception
- Thrown if an error occurs during loadingpublic java.util.List<CardSet> loadCardSets() throws java.lang.Exception
TCGLoader
CardSet
objects from their respective dataloadCardSets
in interface TCGLoader
java.lang.Exception
- Thrown if an error occurs during loading