kuilt
Toggle table of contents
0.6.0-dev
common
Target filter
common
Switch theme
Search in API
Skip to content
kuilt
kuilt-deal
/
us.tractat.kuilt.deal
/
DeckState
Deck
State
@
Serializable
data
class
DeckState
(
val
cards
:
List
<
CardState
>
)
Members
Constructors
Deck
State
Link copied to clipboard
constructor
(
cards
:
List
<
CardState
>
)
Properties
cards
Link copied to clipboard
val
cards
:
List
<
CardState
>
Functions
is
Fully
Shuffled
Link copied to clipboard
fun
isFullyShuffled
(
)
:
Boolean
is
Revealed
Link copied to clipboard
fun
isRevealed
(
index
:
Int
)
:
Boolean
merge
Link copied to clipboard
fun
merge
(
other
:
DeckState
)
:
DeckState
phase
Link copied to clipboard
fun
phase
(
index
:
Int
)
:
CardPhase