Quaternity
settings.h
Go to the documentation of this file.
1 
7 #ifndef SETTINGS_H_
8 #define SETTINGS_H_
9 
11 constexpr int DEFAULT_SET_SIZE = 4;
12 
14 constexpr int DEFAULT_NUM_SETS = 3;
15 
17 constexpr int DEFAULT_NUM_PLAYERS = 3;
18 
22 struct Settings {
23 
27  const int SET_SIZE;
28 
32  const int NUM_SETS;
33 
37  const int NUM_PLAYERS;
38 };
39 
40 #endif /* SETTINGS_H_ */
constexpr int DEFAULT_SET_SIZE
The default value for SET_SIZE.
Definition: settings.h:11
constexpr int DEFAULT_NUM_SETS
The default value for NUM_SETS.
Definition: settings.h:14
constexpr int DEFAULT_NUM_PLAYERS
The default value for NUM_PLAYERS.
Definition: settings.h:17
The settings which characterize a game.
Definition: settings.h:22
const int NUM_SETS
The number of sets.
Definition: settings.h:32
const int SET_SIZE
The size of one set, aka the number of cards in one set.
Definition: settings.h:27
const int NUM_PLAYERS
The number of players playing the game.
Definition: settings.h:37