-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.hpp
37 lines (34 loc) · 803 Bytes
/
Game.hpp
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
/******************************************************************************
** Program name: Final Project - Game.hpp
** Author: Hassan Alarafat
** Date: June 10, 2018
** Description: This file contains the declaration of the class Game.
*******************************************************************************/
#include <iostream>
#include <vector>
using std::vector;
#include <string>
using std::string;
#include <cstdlib>
#include <vector>
using std::vector;
#include "Space.hpp"
#include "Protagonist.hpp"
#include "Map.hpp"
#ifndef GAME_HPP
#define GAME_HPP
class Game
{
protected:
int position;
bool bossDead;
Map map;
vector<bool> items;
public:
Game();
void arrive(int pos);
void checkItems();
void addItem(int key);
void useItems(Protagonist &prot);
};
#endif