-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGameEngine.h
39 lines (36 loc) · 926 Bytes
/
GameEngine.h
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
#ifndef GAME_ENGINE_H
#define GAME_ENGINE_H
#include <iostream>
#include <string>
#include <vector>
#include <limits>
#include "Hero.h"
#include "City.h"
#include "Capsule.h"
#include "Finale.h"
#include "Place.h"
#include "variables.h"
#include "BeginningPlace.h"
#include "DeadEnd.h"
#include "FinishingPlace.h"
class GameEngine {
private:
Hero* hero;
std::vector<City*> cities;
Capsule* tardis;
Finale* finale;
std::vector<std::string> cityNameStack
{"Brno", "Prague", "London", "Paris", "Alexandria", "Pompeii",
"San Helios", "Christmas", "Arcadia", "Darillium"};
std::vector<std::string> npcNameStack;
void buildCity(City* city);
void buildPlace(Place* place, int difficulty, int length);
void workWithEquip();
void workWithInventory();
bool walkThroughCity(Place* place);
public:
GameEngine();
void gameIsOn();
~GameEngine();
};
#endif