DeckStacker v1.0
A card manager plugin for Unity games.
 
Loading...
Searching...
No Matches
DeckStacker.DSDealSingleCardAction Class Reference
Inheritance diagram for DeckStacker.DSDealSingleCardAction:
DeckStacker.DSDealCardsBaseAction DeckStacker.DSAction

Public Member Functions

 DSDealSingleCardAction (DSCard singleCard_, DSStack targetStack_, float dealDelay_=0f)
 
override void Execute ()
 
- Public Member Functions inherited from DeckStacker.DSDealCardsBaseAction
 DSDealCardsBaseAction (float dealDelay_=0f)
 
override void Execute ()
 
- Public Member Functions inherited from DeckStacker.DSAction
void Execute ()
 
void Resolve ()
 
string PrintType ()
 

Additional Inherited Members

- Protected Member Functions inherited from DeckStacker.DSDealCardsBaseAction
void AssignBoilerplateDealData (DSCard card)
 
- Protected Member Functions inherited from DeckStacker.DSAction
void LogAction (string actionMessage)
 
- Protected Attributes inherited from DeckStacker.DSDealCardsBaseAction
DSStack _fromStack = null
 
DSStack _targetStack = null
 
float _dealDelay = 0f
 
DSCardPlacementInDeck _stackPlacement = DSCardPlacementInDeck.Undefined
 
int _stackExactPlacement = -1
 
int _cardsInMotionThreshold = 4
 
- Protected Attributes inherited from DeckStacker.DSAction
System.Type _type = null
 
bool _actionLogged = false
 
- Properties inherited from DeckStacker.DSDealCardsBaseAction
DSCardPlacementInDeck stackPlacement [set]
 
int stackExactPlacement [set]
 
int cardsInMotionThreshold [set]
 

Detailed Description

Derived from DSDealCardsBaseAction.
This is for dealing a specific singular card to a target stack.

Technically, you could use a single entry list in DSDealCardsListAction to do this, but I like this action semantically.

For instance: You could select a specific card from the middle of the deck and send it to another stack with this.

Constructor & Destructor Documentation

◆ DSDealSingleCardAction()

DeckStacker.DSDealSingleCardAction.DSDealSingleCardAction ( DSCard singleCard_,
DSStack targetStack_,
float dealDelay_ = 0f )
inline

Standard Constructor

  • singleCard = the card that is being dealt.
  • targetStack = the DSStack that singleCard will be dealt to.

Member Function Documentation

◆ Execute()

override void DeckStacker.DSDealSingleCardAction.Execute ( )
inline

The documentation for this class was generated from the following file: