Package net.demilich.metastone.game.cards

Cards contains important enums, deserialization code, the card catalogue and the card entity.
See Also:
for an overview of how a card works., for more about game entities, the base data unit in the game state., for a list of game mechanics and state., for more about how the game works.
  • Interface Summary 
    Interface Description
    CardList
    An interface describing common actions for a collection of cards.
    HasChooseOneActions
    An interface that specifies that the object has choose one behaviour.
    HasDeathrattleEnchantments
    Indicates this entity or object contains deathrattles.
  • Class Summary 
    Class Description
    AttributeMap
    An attribute map is a Map that contains Attribute as keys and Object (typically integers and booleans) as values.
    BaseMap<K extends java.lang.Enum<K>,​V>
    A base map wrapping extending a HashMap or EnumMap depending on the memory needs of this server instance.
    Card
    The Card class is an entity that contains card information.
    CardArrayList
    An implementation of CardList for easy shuffling, choosing and uniqueness testing of lists of cards.
    CardAttributeMap
    A hashmap that can contain "overrides" to a CardDesc.
    CardCatalogue
    A place that stores CardCatalogueRecord records that were generated from the "cards" Java package.
    CardCatalogueRecord
    A record that stores a card's ID, JSON representation and CardDesc.
    CardParser
    A class responsible for deserializing JSON representations of cards.
    CardSet
    An enumeration of card sets from various games.
    CardZone
    This class is a CardList that represents the Zones.HAND and Zones.DECK.
  • Enum Summary 
    Enum Description
    Attribute
    A list of attributes on entities.
    CardDescType
    Specifies a type of the object in the card desc.
    ChooseOneOverride
    When specified on a ChooseOneOverrideAura, specifies which choose one option is taken by the targeted card.
  • Exception Summary 
    Exception Description
    CardParseException
    Indicates the card was not able to be parsed.