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

Public Member Functions

 DSShiftCardOrderAction (DSCard shiftingCard_, int howManyPositions_)
 
 DSShiftCardOrderAction (List< DSCard > shiftingCards_, int howManyPositions_)
 
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.DSAction
void LogAction (string actionMessage)
 
- Protected Attributes inherited from DeckStacker.DSAction
System.Type _type = null
 
bool _actionLogged = false
 

Detailed Description

This DSAction will shift a card, or cards, by a specified amount of positions in a stack's card list.

Constructor & Destructor Documentation

◆ DSShiftCardOrderAction() [1/2]

DeckStacker.DSShiftCardOrderAction.DSShiftCardOrderAction ( DSCard shiftingCard_,
int howManyPositions_ )
inline

Constructor overload for a single card.

  • shiftingCard = the DSCard you want to shift
  • howManyPositions = the number of positions you wish to shift the card (Negative values are valid)

◆ DSShiftCardOrderAction() [2/2]

DeckStacker.DSShiftCardOrderAction.DSShiftCardOrderAction ( List< DSCard > shiftingCards_,
int howManyPositions_ )
inline

Constructor overload for a list of cards.

  • shiftingCards = the DSCard list you want to shift
  • howManyPositions = the number of positions you wish to shift the cards (Negative values are valid)

Member Function Documentation

◆ Execute()

override void DeckStacker.DSShiftCardOrderAction.Execute ( )
inline

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