Search
Preparing search index...
The search index is not available
typedeck
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
IDeck
Interface IDeck
Hierarchy
ICardPile
IDeck
Implemented by
Deck
Index
Methods
add
Card
add
Cards
add
Cards
ToBottom
card
AtIndex
create
Hand
deal
get
Cards
get
Count
has
Card
has
Cards
index
OfCard
is
Empty
remove
Cards
shuffle
take
Card
take
Card
From
Bottom
take
Cards
take
Cards
From
Bottom
Methods
add
Card
add
Card
(
card
:
ICard
)
:
ICardCollection
Parameters
card:
ICard
Returns
ICardCollection
add
Cards
add
Cards
(
cards
:
ICard
[]
)
:
ICardCollection
Parameters
cards:
ICard
[]
Returns
ICardCollection
add
Cards
ToBottom
add
Cards
ToBottom
(
cards
:
ICard
[]
)
:
void
Parameters
cards:
ICard
[]
Returns
void
card
AtIndex
card
AtIndex
(
index
:
number
)
:
ICard
Parameters
index:
number
Returns
ICard
create
Hand
create
Hand
(
options
:
HandOptions
)
:
IHand
Parameters
options:
HandOptions
Returns
IHand
deal
deal
(
hand
:
IHand
, size
:
number
)
:
IDeck
Parameters
hand:
IHand
size:
number
Returns
IDeck
get
Cards
get
Cards
(
)
:
ICard
[]
Returns
ICard
[]
get
Count
get
Count
(
)
:
number
Returns
number
has
Card
has
Card
(
card
:
ICard
)
:
boolean
Parameters
card:
ICard
Returns
boolean
has
Cards
has
Cards
(
cards
:
ICard
[]
)
:
boolean
Parameters
cards:
ICard
[]
Returns
boolean
index
OfCard
index
OfCard
(
card
:
ICard
)
:
number
Parameters
card:
ICard
Returns
number
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
remove
Cards
remove
Cards
(
cards
:
ICard
[]
)
:
ICardCollection
Parameters
cards:
ICard
[]
Returns
ICardCollection
shuffle
shuffle
(
)
:
void
Returns
void
take
Card
take
Card
(
)
:
ICard
Returns
ICard
take
Card
From
Bottom
take
Card
From
Bottom
(
)
:
ICard
Returns
ICard
take
Cards
take
Cards
(
amount
:
number
)
:
ICard
[]
Parameters
amount:
number
Returns
ICard
[]
take
Cards
From
Bottom
take
Cards
From
Bottom
(
amount
:
number
)
:
ICard
[]
Parameters
amount:
number
Returns
ICard
[]
Globals
IDeck
add
Card
add
Cards
add
Cards
ToBottom
card
AtIndex
create
Hand
deal
get
Cards
get
Count
has
Card
has
Cards
index
OfCard
is
Empty
remove
Cards
shuffle
take
Card
take
Card
From
Bottom
take
Cards
take
Cards
From
Bottom
Generated using
TypeDoc