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

Public Member Functions

 DSResetCardTintAction (DSCard tintingCard_, float spd_=1f)
 DSResetCardTintAction (List< DSCard > tintingCards_, float spd_=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 takes a card or list of cards and reset the tint on it / them via the DSCardTintHelper.

Setting spd paramater to <= 0 will make the tint transition instant.

Constructor & Destructor Documentation

◆ DSResetCardTintAction() [1/2]

DeckStacker.DSResetCardTintAction.DSResetCardTintAction ( DSCard tintingCard_,
float spd_ = 1f )
inline

Constructor for a single card being queued up.

  • tintingCard = the DSCard to be tinted
  • spd = a multiplier that speeds up or slows down the tint, applied to Time.deltaTime. A value <= 0 will make the tint transition instant.

◆ DSResetCardTintAction() [2/2]

DeckStacker.DSResetCardTintAction.DSResetCardTintAction ( List< DSCard > tintingCards_,
float spd_ = 1f )
inline

Constructor for a DSCard list being queued up.

  • tintingCards = the DSCard list to be tinted
  • spd = a multiplier that speeds up or slows down the tint, applied to Time.deltaTime. A value <= 0 will make the tint transition instant.

Member Function Documentation

◆ Execute()

override void DeckStacker.DSResetCardTintAction.Execute ( )
inline

This code will execute when this DSAction is at the 0 index of the DSActionQueue.actionQueue list, and an RunUpdate call has been made.


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