DeckStacker v1.0.4
A card game engine for Unity games
Loading...
Searching...
No Matches
DeckStacker.DSMoveCardToPositionAction Class Reference
Inheritance diagram for DeckStacker.DSMoveCardToPositionAction:
DeckStacker.DSAction

Public Member Functions

 DSMoveCardToPositionAction (DSCard movingCard_, Vector3 endPos_, bool worldspace_=false, 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.DSAction
void LogAction (string actionMessage)
Protected Attributes inherited from DeckStacker.DSAction
System.Type _type = null
bool _actionLogged = false

Detailed Description

Moves a card to a specified position (this card's parent's localspace by default)./n This action is primarily for Undefined stacks (stacks that do not arrange their cards).

In Undefined stacks, the cards are free-form and this action is one way to move them into a position.

Constructor & Destructor Documentation

◆ DSMoveCardToPositionAction()

DeckStacker.DSMoveCardToPositionAction.DSMoveCardToPositionAction ( DSCard movingCard_,
Vector3 endPos_,
bool worldspace_ = false,
float dealDelay_ = 0f )
inline
  • movingCard = the DSCard that you want to move
  • endPos = the localspace (to the card) position the DSCard will move to
  • worldspace = switches localspace to worldspace for endPos
  • dealDelay = how long should the DSCard wait in the cardsWaitingToBeDealt queue before moving

Member Function Documentation

◆ Execute()

override void DeckStacker.DSMoveCardToPositionAction.Execute ( )
inline

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