Enumerations | |
enum | DSCardFacing { Up , Down , Mixed } |
enum | DSStackType { RowTight , RowLoose , ColumnTight , ColumnLoose , Pile , RowFan , Undefined } |
enum | DSCardPlacementInDeck { Undefined , Top , Middle , Bottom } |
enum | DSVisibilityState { FullyVisible , PartiallyVisible , Hidden , Fading } |
enum | DSItemDistribution { Even , CarriageReturn } |
enum | DSDistributionWeight { Beginning , End } |
enum | DSSuit { None , Hearts , Diamonds , Clubs , Spades , Joker } |
Used with operations that need to generally define where a card will be placed (or reordered) into a stack of cards.
The most common place this is found is in card dealing operations.
Enumerator | |
---|---|
Undefined | Default value. |
Top | Refers to the last index of the DSStack.cards list. |
Middle | A random card placement between 10% and 90% of a stack's card list. |
Bottom | Refers to the 0 index of the DSStack.cards list. |
Used in the DSItemDistributor script, signaling which side of a list should an uneven amount of items be weighted.
Enumerator | |
---|---|
Beginning | |
End |
Used in the DSItemDistributor script, signaling which style of distribution it should execute.
Enumerator | |
---|---|
Even | DSItemDistributor will distribute items between lists in the most even way possible, with extra items placed in the center of the amount of containers provided. |
CarriageReturn | DSItemDistributor will distribute items between lists similar to typing on a line. When a max item limit is reached in a container, the next container in the list starts getting filled. |
Defines how a stack should position its cards.
Enumerator | |
---|---|
RowTight | A horizontal splay of cards, from left to right. Each card mostly covers the card under it. |
RowLoose | A horizontal splay of cards, from left to right. Each card is placed next to the preceeding card, until there is not enough room. |
ColumnTight | A vertical (2D) splay of cards, from top to bottom. Each card mostly covers the card under it. |
ColumnLoose | A vertical (2D) splay of cards, from top to bottom. Each card is placed next to the preceeding card, until there is not enough room. |
Pile | A typical stack of cards, with each card completely covering the one under it. |
RowFan | Something in between a RowTight, and RowLoose: This stack type is designed to slightly fan out in an arc. Best for "player hand" displays. |
Undefined | Cards are not positioned by default, and will require the developer to tell them where to go at any time. This exists because DeckStacker assumes cards have stacks at all times. |
enum DeckStacker.DSSuit |
Used in DSCardData for default traditional card setup.
Enumerator | |
---|---|
None | |
Hearts | |
Diamonds | |
Clubs | |
Spades | |
Joker |
Used in DSCardFader to help define what state a card is, or should be.
Enumerator | |
---|---|
FullyVisible | |
PartiallyVisible | |
Hidden | |
Fading |