CCIMXDesktop
Loading...
Searching...
No Matches
DifficultyType.h
1
#ifndef DIFFICULTYTYPE_H
2
#define DIFFICULTYTYPE_H
3
4
#include <QString>
5
13
enum class
Difficulty {
14
EASY,
15
MEDIUM,
16
HARD,
17
HOLY_SHIT
18
};
19
26
static
constexpr
const
Difficulty MAX_DIFFICULTY = Difficulty::HOLY_SHIT;
27
37
inline
QString dif_str_fac(Difficulty d) {
38
switch
(d) {
39
case
Difficulty::EASY:
40
return
"Easy"
;
41
case
Difficulty::MEDIUM:
42
return
"Medium"
;
43
case
Difficulty::HARD:
44
return
"Hard"
;
45
case
Difficulty::HOLY_SHIT:
46
return
"What the fuck"
;
47
}
48
return
""
;
49
}
50
51
#endif
// DIFFICULTYTYPE_H
extern_app
games
CCIMX_DinoGame
core
DifficultyType.h
Generated by
1.9.8