|
CardGame
Rogue-like card videogame
|
#include <limitCardToPlayEffect.h>
Public Member Functions | |
| LimitCardToPlayEffect ()=default | |
| Constructs the effect with a fixed logical target. | |
| void | resolve (CombatContext &combatContext, const CardParams &values) override |
| Impose a limit on the number of cards the player can play this turn, using CardParams::limitCards. | |
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. | |
|
default |
Constructs the effect with a fixed logical target.
|
overridevirtual |
Impose a limit on the number of cards the player can play this turn, using CardParams::limitCards.
| combatContext | Current combat execution context. |
| values | Numeric parameters used during resolution. |
Implements Effect.