Static Public Member Functions | |
static void | RunUpdate () |
static void | Restack (DSStack stack_) |
Static Public Attributes | |
static List< DSStack > | restackList = new List<DSStack>() |
This script queues up and triggers restacks in the scene.
A "restack" is when some kind of change has happened in a stack, and cards need to be moved to relect that change.
Restacks are the primary way cards are moved in DeckStacker.
Example of a restack: Cards are removed from one stack and added to another.
The 2 stacks are added to the restack list, because both have gone under a change.
|
inlinestatic |
This is the code that moves the stack's cards into place, according to the stack type.
This method is public in the event that you need to force a restack immediately, such as in the Execute() method of DSShuffleAction.
|
inlinestatic |
Called in the DSTableRunner Update loop.
This triggers the TriggerRestacks() and acts as the Update loop for this script.
Restack queue. Each frame, this list is checked and stacks in it have a restack triggered for them.