Interface ICardCollection
Methods
cardAtIndex
- cardAtIndex(index: number): ICard
hasCard
- hasCard(card: ICard): boolean
-
Parameters
Returns boolean
hasCards
- hasCards(cards: ICard[]): boolean
-
Parameters
Returns boolean
indexOfCard
- indexOfCard(card: ICard): number
-
Parameters
Returns number
takeCards
- takeCards(amount: number): ICard[]