|
CardGame
Rogue-like card videogame
|
Effect that grants additional actions for the current turn. More...
#include <gainActionsEffect.h>
Public Member Functions | |
| GainActionsEffect ()=default | |
| Constructs a gain-actions effect. | |
| void | resolve (CombatContext &combatContext, const CardParams &values) override |
| Grants actions using CardParams::actions. | |
Public Member Functions inherited from Effect | |
| virtual void | resolve (CombatContext &combatContext, const CardParams &effectParams)=0 |
| Applies the effect during card resolution. | |
| virtual | ~Effect ()=default |
| Virtual destructor. | |
Effect that grants additional actions for the current turn.
GainActionsEffect reads the action amount from CardParams and increases the actor's available actions for the current turn.
The effect does not modify turn state directly; it requests the operation through CombatContext.
|
default |
Constructs a gain-actions effect.
|
overridevirtual |
Grants actions using CardParams::actions.
| combatContext | Current combat execution context. |
| values | Numeric parameters used during resolution. |
Implements Effect.