Public Member Functions | |
DSFlipCardAction (DSCard flippingCard_, float flipSpd_=-1f) | |
DSFlipCardAction (List< DSCard > flippingCards_, float flipSpd_=-1f) | |
override void | Execute () |
![]() | |
void | Execute () |
void | Resolve () |
string | PrintType () |
Additional Inherited Members | |
![]() | |
void | LogAction (string actionMessage) |
![]() | |
System.Type | _type = null |
bool | _actionLogged = false |
This action flips a list of cards.
You can adjust the card flip spd with the flipSpd parameter in the constructor.
flipSpd is a multiplier on deltaTime, so you can think of this equation when determining how long you want a flip to take:
1f / flipSpd = flipTime
|
inline |
Constructor overload for a single card.
|
inline |
|
inline |