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

Public Member Functions

 DSReturnCardsToPoolAction (DSCard returningCard_)
 
 DSReturnCardsToPoolAction (List< DSCard > returningCards_)
 
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

Simple DSAction that will return a card or list of cards to their corresponding card pool.

Constructor & Destructor Documentation

◆ DSReturnCardsToPoolAction() [1/2]

DeckStacker.DSReturnCardsToPoolAction.DSReturnCardsToPoolAction ( DSCard returningCard_)
inline

Constructor overload for a single card.

  • returningCard = the DSCard you want to return to the respective card pool

◆ DSReturnCardsToPoolAction() [2/2]

DeckStacker.DSReturnCardsToPoolAction.DSReturnCardsToPoolAction ( List< DSCard > returningCards_)
inline

Constructor overload for a list of cards.

  • returningCards = the DSCard list you want to return to the respective card pool(s)

Member Function Documentation

◆ Execute()

override void DeckStacker.DSReturnCardsToPoolAction.Execute ( )
inline

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