CCIMXDesktop
 
Loading...
Searching...
No Matches
DifficultyType.h
1#ifndef DIFFICULTYTYPE_H
2#define DIFFICULTYTYPE_H
3
4#include <QString>
5
13enum class Difficulty {
14 EASY,
15 MEDIUM,
16 HARD,
17 HOLY_SHIT
18};
19
26static constexpr const Difficulty MAX_DIFFICULTY = Difficulty::HOLY_SHIT;
27
37inline 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