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

Public Member Functions

 DSTemplateAction ()
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

Add a description of this DSAction here.

This template file is included to make it easy to make new DSActions that are custom to your game.

DeckStacker is only a basis to start a game with. Custom DSActions are required for game-specific behaviors.

The most common reason to make a custom DSAction is when you are queueing up actions and you don't know what the table state will be when this action is executed.

Creating custom DSActions allows for time-sensitive code to run after the game state has changed, reacting to the new game state.

Constructor & Destructor Documentation

◆ DSTemplateAction()

DeckStacker.DSTemplateAction.DSTemplateAction ( )
inline

Standard Constructor: Include what the parameters do, if any.

Member Function Documentation

◆ Execute()

override void DeckStacker.DSTemplateAction.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: