-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGame.hpp
More file actions
65 lines (59 loc) · 1.27 KB
/
Copy pathGame.hpp
File metadata and controls
65 lines (59 loc) · 1.27 KB
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
63
64
65
/*********************************************************************
** Program name: FinalProject
** Author: James Scanlon
** Date: March 19, 2019
** Description: Interface of the game class.
*********************************************************************/
#ifndef Game_hpp
#define Game_hpp
#include <stdio.h>
#include "Menu.hpp"
#include "Player.hpp"
#include "Backpack.hpp"
#include "Bulbasaur.hpp"
#include "Space.hpp"
#include "Mom.hpp"
#include "Grass.hpp"
#include "Road.hpp"
#include "Cave.hpp"
#include "PokeCenter.hpp"
#include "Oak.hpp"
#include "Brock.hpp"
#include "Mom.hpp"
#include "Misty.hpp"
#include "PokeStore.hpp"
class Game
{
int stepsLeft;
int height;
int width;
bool hasWon;
bool hasLost;
Player* user;
Space* grass;
Space* road;
Space* cave;
Space* pokeCenter;
Space* pokeStore;
Space* oak;
Space* brock;
Space* mom;
Space* misty;
Space* playerLocation;
Menu *optionsMenu;
Menu *moveMenu;
void beginGame();
void gameOver();
void makeMove();
public:
// constructor
Game();
void generateBoard();
void printBoard();
void printObjective();
void checkPokemon();
void checkBackpack();
// destructor
~Game();
};
#endif /* Game_hpp */