|
CardGame
Rogue-like card videogame
|
Numeric parameters used to resolve gameplay effects. More...
#include <cardParams.h>
Public Attributes | |
| int | damage {0} |
| int | armor {0} |
| int | actions {0} |
| int | drawing {0} |
| std::optional< int > | cardsLimit |
Numeric parameters used to resolve gameplay effects.
CardParams provides the numeric values consumed by Effect implementations during resolution (e.g., damage, armor).
The same parameter structure is used for both card effects and enemy moves, allowing Effect behavior to remain stateless and reusable.
| int CardParams::actions {0} |
| int CardParams::armor {0} |
| std::optional<int> CardParams::cardsLimit |
| int CardParams::damage {0} |
| int CardParams::drawing {0} |