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

Public Member Functions

 DSScaleCardAction (DSCard scalingCard_, Vector3 newScale_)
 DSScaleCardAction (List< DSCard > scalingCards_, Vector3 newScale_)
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 scales a card, or cards, to a specified Vector3

Constructor & Destructor Documentation

◆ DSScaleCardAction() [1/2]

DeckStacker.DSScaleCardAction.DSScaleCardAction ( DSCard scalingCard_,
Vector3 newScale_ )
inline

Constructor overload for a single card.

  • scalingCard = the DSCard you want to scale
  • newScale = the DSCard's target scale

◆ DSScaleCardAction() [2/2]

DeckStacker.DSScaleCardAction.DSScaleCardAction ( List< DSCard > scalingCards_,
Vector3 newScale_ )
inline

Constructor overload for a list of cards.

  • scalingCards = the DSCard list you want to scale
  • newScale = the DSCard's target scale

Member Function Documentation

◆ Execute()

override void DeckStacker.DSScaleCardAction.Execute ( )
inline

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