Abstract Base class for general card containers, like decks and hands.
Constructor for the type of card stored in this container. Used to find the card dimensions.
Optional hiddenOptional display name for this object when hidden.
Optional nameOptional display name for this object.
Gets the dimensions of the card type stored in this container.
Abstract countGets the number of cards in this container.
If true, this container has no cards.
Abstract hasProtected Abstract onProtected Abstract onProtected Abstract onRemove all cards from this container.
The removed cards.
Remove the given cards from this container.
The removed cards.
Remove all cards matching a predicate from this container.
Predicate to match for each card.
The removed cards.
Abstract renderBuilds a view of this object from the perspective of a player.
Information about where the object is in the scene, and who's viewing it.
Generated using TypeDoc
Base class for general card containers, like decks and hands. We don't assume anything about how cards are stored.