DeckStacker v1.0.4
A card game engine for Unity games
Loading...
Searching...
No Matches
DeckStacker Namespace Reference

Data Structures

class  DSAction
class  DSActionQueue
class  DSButtonHandler
class  DSCard
class  DSCardArt
class  DSCardData
class  DSCardFader
class  DSCardFlipper
class  DSCardGrabber
class  DSCardInput
class  DSCardManagementData
class  DSCardManager
class  DSCardMovementHelper
class  DSCardMovementSettingsSO
class  DSCardMover
class  DSCardPool
class  DSCardSelector
class  DSCardSpacing
class  DSCardSpacingFan
class  DSCardSpacingOverrideSettings
class  DSCardSpacingSettingsSO
class  DSCardTint
class  DSCardTintHelper
class  DSCardTintManager
class  DSCardTintSettingsSO
class  DSChangeStackRenderOrderAction
class  DSClickableFaces
class  DSCombineStacksAction
class  DSDealCardsAction
class  DSDealCardsBaseAction
class  DSDealCardsListAction
class  DSDealCardsToStackListAction
class  DSDealSingleCardAction
class  DSDebugSettings
class  DSDelayAction
class  DSDeselectAllAction
class  DSDistributeCardsBetweenStackListAction
class  DSExchangeCardsAction
class  DSExtensions
class  DSFadeCardAction
class  DSFanStackInfo
class  DSFieldAuditor
class  DSFlipCardAction
class  DSItemDistributor
class  DSMoveCardInDirAction
class  DSMoveCardToPositionAction
class  DSOffsetCardAction
class  DSRegistry
class  DSResetCardTintAction
class  DSResetStackRenderOrderAction
class  DSRestacker
class  DSRestackHelper
class  DSReturnCardsToPoolAction
class  DSRotateCardAction
class  DSScaleCardAction
class  DSSelectCardAction
class  DSShiftCardOrderAction
class  DSShuffleAction
class  DSSpacingOverrideCurve
class  DSSpacingOverrideFloat
class  DSSpacingOverrideValue
class  DSStack
class  DSStackRenderManager
class  DSTableRunner
class  DSTemplateAction
class  DSTintCardAction
class  DSTraditionalCardSpawner
class  DSUIScaleUpdater
class  DSVector3Curve
class  DSWaitForCardsToStopAction

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
}

Enumeration Type Documentation

◆ DSCardFacing

Used in determining when a card should be face up or down, and also used to define stack face orientation.

Enumerator
Up 
Down 
Mixed 

This is used for stacks that don't enforce a way that cards face. If you want a stack to have a mix of face up and face down cards, use this setting.

◆ DSCardPlacementInDeck

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.

◆ DSDistributionWeight

Used in the DSItemDistributor script, signaling which side of a list should an uneven amount of items be weighted.

Enumerator
Beginning 
End 

◆ DSItemDistribution

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.

◆ DSStackType

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.

◆ DSSuit

Used in DSCardData for default traditional card setup.

Enumerator
None 
Hearts 
Diamonds 
Clubs 
Spades 
Joker 

◆ DSVisibilityState

Used in DSCardFader to help define what state a card is, or should be.

Enumerator
FullyVisible 
PartiallyVisible 
Hidden 
Fading