-
Notifications
You must be signed in to change notification settings - Fork 1
/
Levels.cpp
56 lines (52 loc) · 848 Bytes
/
Levels.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#include "Levels.h"
Levels::Levels(int p_levelNumber) : m_levelNumber{ p_levelNumber }
{
}
Levels::~Levels()
{
}
std::unique_ptr<std::vector<std::string>> Levels::GetLevel()
{
switch (m_levelNumber)
{
case 0:
m_level = m_level_000;
break;
case 1:
m_level = m_level_001;
break;
case 2:
m_level = m_level_002;
break;
case 3:
m_level = m_level_003;
break;
case 4:
m_level = m_level_004;
break;
case 5:
m_level = m_level_005;
break;
case 6:
m_level = m_level_006;
break;
case 7:
m_level = m_level_007;
break;
case 8:
m_level = m_level_008;
break;
case 9:
m_level = m_level_009;
break;
case 10:
m_level = m_level_010;
break;
case 99:
m_level = m_level_099;
break;
default:
break;
}
return std::make_unique<std::vector<std::string>>(m_level);
}