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

Public Member Functions

 DSSelectCardAction (DSCard selectedCard_, bool? selectionState_=null)
 DSSelectCardAction (List< DSCard > selectedCards_, bool? selectionState_=null)
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 either toggles a cards selected state, or forces a particular selection state.
If no selectionState_ is given, then it will toggle the state.

Constructor & Destructor Documentation

◆ DSSelectCardAction() [1/2]

DeckStacker.DSSelectCardAction.DSSelectCardAction ( DSCard selectedCard_,
bool? selectionState_ = null )
inline

Constructor overload for a single card.

  • selectedCard = the DSCard you want to select / unselect
  • selectionState = define this to force the DSCard to be selected, or unselected, specifically

◆ DSSelectCardAction() [2/2]

DeckStacker.DSSelectCardAction.DSSelectCardAction ( List< DSCard > selectedCards_,
bool? selectionState_ = null )
inline

Constructor overload for a list of cards.

  • selectedCards = the DSCard list you want to select / unselect
  • selectionState = define this to force the DSCard to be selected, or unselected, specifically

Member Function Documentation

◆ Execute()

override void DeckStacker.DSSelectCardAction.Execute ( )
inline

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