Number Crush  1.0
..
params.h
Go to the documentation of this file.
1 #ifndef PARAMS_H
2 #define PARAMS_H
3 
13 #include "Correc_prof/type.h"
14 
18 const unsigned KNbCandies = 4;
19 
23 const unsigned KMaxTimes = 20;
24 
28 const unsigned KImpossible = KNbCandies + 2;
29 
35 void InitParams (CMyParam & Param);
36 
42 void LoadParams (CMyParam & Param);
43 #endif // PARAMS_H
void LoadParams(CMyParam &Param)
Load the set of parameters from a YAML file.
Definition: params.cpp:30
const unsigned KImpossible
KImpossible :
Definition: params.h:28
Struct containing all the game's parameters.
Definition: type.h:35
const unsigned KMaxTimes
KMaxTimes : number of maximum allowed turns to win.
Definition: params.h:23
const unsigned KNbCandies
KNbCandies : number of maximum candies in a grid.
Definition: params.h:18
void InitParams(CMyParam &Param)
Initialize the set of parameters from scratch.
Definition: params.cpp:11
Definition of usefull types or aliases for the project.