CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
matchData.h
Go to the documentation of this file.
1#ifndef MATCHDATA_H
2#define MATCHDATA_H
3
4#include <optional>
5
6enum class MatchState
7{
13};
14
16{
17 int turnNumber{1};
18 MatchState matchState{MatchState::Running};
19};
20
22{
26
27 // enemy based
28
29 std::optional<int> cardsToPlayLimit;
30};
31
32enum class PlayerChoice
33{
36};
37
39{
40 PlayerChoice playerChoice{PlayerChoice::PassTurn};
41 std::optional<int> selectedCard;
42};
43
44#endif // MATCHDATA_H
MatchState
Definition: matchData.h:7
PlayerChoice
Definition: matchData.h:33
Definition: matchData.h:16
int turnNumber
Definition: matchData.h:17
MatchState matchState
Definition: matchData.h:18
Definition: matchData.h:39
std::optional< int > selectedCard
Definition: matchData.h:41
PlayerChoice playerChoice
Definition: matchData.h:40
Definition: matchData.h:22
int initialCardsToDraw
Definition: matchData.h:25
int playerRemainingActions
Definition: matchData.h:23
std::optional< int > cardsToPlayLimit
Definition: matchData.h:29
int cardsPlayed
Definition: matchData.h:24