-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameModel.cpp
62 lines (49 loc) · 1.18 KB
/
gameModel.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
57
58
59
60
61
62
#include "gameModel.h"
int GameModel::getChosenBuildingType()
{
return chosenBuildingType;
}
void GameModel::setChosenBuildingType(int chosenBuildingType)
{
GameModel::chosenBuildingType = chosenBuildingType;
}
void GameModel::setChosenInteractionMode(int chosenInteractionMode)
{
GameModel::chosenInteractionMode = chosenInteractionMode;
}
int GameModel::getChosenInteractionMode()
{
return chosenInteractionMode;
}
int GameModel::getApplicationWidth()
{
return GameModel::applicationWidth;
}
void GameModel::setApplicationWidth(int applicationWidth)
{
GameModel::applicationWidth = applicationWidth;
}
int GameModel::getApplicationHeight()
{
return GameModel::applicationHeight;
}
void GameModel::setApplicationHeight(int applicationHeight)
{
GameModel::applicationHeight = applicationHeight;
}
unsigned int GameModel::getSelectedUnitIndex()
{
return selectedUnitIndex;
}
void GameModel::setSelectedUnitIndex(unsigned int unitIndex)
{
GameModel::selectedUnitIndex = unitIndex;
}
int GameModel::getTempChosenMode()
{
return tempChosenMode;
}
void GameModel::setTempChosenMode(int tempChosenMode)
{
GameModel::tempChosenMode = tempChosenMode;
}