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

Public Member Functions

 DSOffsetCardAction (DSCard offsettingCard_, Vector3 offsetPosV3_, Vector3 offsetScaleV3_)
 DSOffsetCardAction (List< DSCard > offsettingCards_, Vector3 offsetPosV3_, Vector3 offsetScaleV3_)
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 offsets a card, or cards, by a specified position and / or scale.

Constructor & Destructor Documentation

◆ DSOffsetCardAction() [1/2]

DeckStacker.DSOffsetCardAction.DSOffsetCardAction ( DSCard offsettingCard_,
Vector3 offsetPosV3_,
Vector3 offsetScaleV3_ )
inline

Constructor overload for a single card.

  • offsettingCard = the DSCard that you want to offset
  • offsetPosV3 = the local position the DSCard's offset parent will move to.
  • offsetScaleV3 = the local scale the DSCard will change to

◆ DSOffsetCardAction() [2/2]

DeckStacker.DSOffsetCardAction.DSOffsetCardAction ( List< DSCard > offsettingCards_,
Vector3 offsetPosV3_,
Vector3 offsetScaleV3_ )
inline

Constructor overload for a list of cards.

  • offsettingCards = the DSCard list that you want to offset
  • offsetPosV3 = the local position the DSCard's offset parent will move to.
  • offsetScaleV3 = the local scale the DSCard will change to

Member Function Documentation

◆ Execute()

override void DeckStacker.DSOffsetCardAction.Execute ( )
inline

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