CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
cardParams.h
Go to the documentation of this file.
1#ifndef CARDPARAMS_H
2#define CARDPARAMS_H
3
4#include <optional>
5
16{
17 // Common one
18 int damage{0};
19 int armor{0};
20 int actions{0};
21 int drawing{0};
22
23 // Enemy-based
24 std::optional<int> cardsLimit;
25};
26
27#endif // CARDPARAMS_H
Numeric parameters used to resolve gameplay effects.
Definition: cardParams.h:16
std::optional< int > cardsLimit
Definition: cardParams.h:24
int damage
Definition: cardParams.h:18
int armor
Definition: cardParams.h:19
int drawing
Definition: cardParams.h:21
int actions
Definition: cardParams.h:20