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

Public Member Functions

 DSFadeCardAction (DSCard fadingCard_, float fadeTarget_, float fadeSpeed_=-1f)
 
 DSFadeCardAction (List< DSCard > fadingCards_, float fadeTarget_, float fadeSpeed_=-1f)
 
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 DeckStacker Action queues up a card fade for a single card or list of cards.

Constructor & Destructor Documentation

◆ DSFadeCardAction() [1/2]

DeckStacker.DSFadeCardAction.DSFadeCardAction ( DSCard fadingCard_,
float fadeTarget_,
float fadeSpeed_ = -1f )
inline

Constructor for a single card being queued up.

  • fadingCard = the DSCard to be faded
  • fadeTarget = the amount of opacity we are targeting
  • fadeSpeed = a multiplier that speeds up or slows down the fade animation

◆ DSFadeCardAction() [2/2]

DeckStacker.DSFadeCardAction.DSFadeCardAction ( List< DSCard > fadingCards_,
float fadeTarget_,
float fadeSpeed_ = -1f )
inline

Constructor for a DSCard list being queued up.

  • fadingCards = the DSCard list to be faded
  • fadeTarget = the amount of opacity we are targeting
  • fadeSpeed = a multiplier that speeds up or slows down the fade animation

Member Function Documentation

◆ Execute()

override void DeckStacker.DSFadeCardAction.Execute ( )
inline

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