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

Public Member Functions

 DSExchangeCardsAction (DSCard firstCard_, DSCard secondCard_)
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 exchange the positions of 2 cards by switching their spots in their respective stacks.

Constructor & Destructor Documentation

◆ DSExchangeCardsAction()

DeckStacker.DSExchangeCardsAction.DSExchangeCardsAction ( DSCard firstCard_,
DSCard secondCard_ )
inline
  • firstCard = one of the DSCards you wish to switch
  • secondCard = the other DSCard you wish to switch

Member Function Documentation

◆ Execute()

override void DeckStacker.DSExchangeCardsAction.Execute ( )
inline

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